Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT not recognizing IN and OUT keywords
CDT not recognizing IN and OUT keywords [message #1229017] Wed, 08 January 2014 14:51 Go to next message
Priyadharshini Krushnan is currently offline Priyadharshini KrushnanFriend
Messages: 2
Registered: January 2014
Location: India
Junior Member
I have a huge C project that contains more than 1000 files and when I open this project in Eclipse, I get lot of errors in the editor (Orange squiggly lines).

When I analyze these, they seem to be associated with the IN and OUT keyword. For Example: The following function declaration shows error.

MY_TYPE
func3 (
IN int *This,
IN char *a,
OUT char **b
);

MY_TYPE is a typedef for void.
Please let me know how do I resolve this problem.

Actually, I also see some strange behavior which I couldnt understand. When I include the header file containing the definition for MY_TYPE into that c file, then the errors are gone. Alternatively, the errors are gone even if I remove the IN and OUT keywords.

Can anyone please let me know the issue and resolution for this.
I have also attached a sample project simulating this problem.

My current development environment is Indigo and I've tried this issue with Kepler. Both provides the same behavior.


Thanks,
Priyadharshini
begin 644 SampleProject.zip
M4$L#!!0``````')B*$0````````````````.````4V%M<&QE4')O:F5C="]0
M2P,$%`````@`C54H1$K&==64!0``=A\``!<```!386UP;&50<F]J96-T+RYC
M<')O:F5C=.U96V_3,!1^!HG_$$4\@`9IG)L3V$"P#6D2EXD!X@VYKEL":5PY
M#FP@_CO'SJ7)V@YG*S?!TU;G^%R_<^POV7UX.L^L3TP4*<_W;.2XML5RRB=I
M/MNS7[]Z<C>VK4*2?$(RGK,].^?VPP<WKN\^G*89>U/MLP+'=5RU#`_H0O`/
MC$K8Q069L7?R;,'>I9,]FXN9PVB6+@KFT(ET*!?,>3O/CJL-!ZR@(EU(4'A2
M;;5!X[7=6L\S/BDS9LWUGZ--Z@HF);A>Z*W7=BGE^32=E8(HM=8Z+^;%)^JP
M4^9,V+B<.9X;A&[B(80K%>?MC\LTFYR<%9+-C]9I(SG(3K04$Y5//1\.B"00
M\*<4'ML#'3(.WLK)'&IUH!3H,%0<[%0RD9/LI)8:=1_D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E1`7.-G"5%HYKV&]WAS*6M)]H7&C`!YJE,C*\
M#5EZ9('755VM2%N%&L:V'VZ=N(B$4B>+"\I>G#UF[^M(03^)^S1TIW*`5I$&
MSA:_7/\`4$L#!`H``````.)5*$0C]@DU,@```#(````B````4V%M<&QE4')O
M:F5C="]S<F,O<W5B<W)C+U-A;7!L93(N:'1Y<&5D968-"DU97U194$4-"B@J
M;7E?9G5N8U]P;VEN=&5R*2`H:6YT+"!I;G0I.PT*4$L!`C\`%```````<F(H
M1`````````````````X`)``````````0`````````%-A;7!L95!R;VIE8W0O
M"@`@```````!`!@`Y]O`RCT,SP'GV\#*/0S/`1D*''\P#,\!4$L!`C\`%```
M``@`C54H1$K&==64!0``=A\``!<`)``````````@````+````%-A;7!L95!R
M;VIE8W0O+F-P<F]J96-T"@`@```````!`!@`>>TR?S`,SP$Y43)_,`S/`3E1
M,G\P#,\!4$L!`C\`%`````@`C54H1/O[R"<*`0``%P,``!8`)``````````@
M````]04``%-A;7!L95!R;VIE8W0O+G!R;VIE8W0*`"````````$`&`"I\3!_
M,`S/`2DQ''\P#,\!*3$<?S`,SP%02P$"/P`4``````"A6"A$````````````
M````$@`D`````````!`````S!P``4V%M<&QE4')O:F5C="]S<F,O"@`@````
M```!`!@`Q.1E8#,,SP'$Y&5@,PS/`;/4./LP#,\!4$L!`C\`"@``````<E8H
M1#>`:Z8P````,````"$`)``````````@````8P<``%-A;7!L95!R;VIE8W0O
M<W)C+U-A;7!L95-O=7)C93$N8PH`(````````0`8`&=CLW\Q#,\!N37#DS`,
MSP&Y-<.3,`S/`5!+`0(_`!0````(`&EB*$26H7.KU````#4!```A`"0`````
M````(````-('``!386UP;&50<F]J96-T+W-R8R]386UP;&53;W5R8V4R+F,*
M`"````````$`&`"7WK>_/0S/`67M_.0P#,\!9>W\Y#`,SP%02P$"/P`4````
M"`"17BA$A6E-A\<```!F`0``(0`D`````````"````#E"```4V%M<&QE4')O
M:F5C="]S<F,O4V%M<&QE4V]U<F-E,RYC"@`@```````!`!@`2IFR`SH,SP'$
MY&5@,PS/`<3D96`S#,\!4$L!`C\`%```````"58H1````````````````!D`
M)``````````0````ZPD``%-A;7!L95!R;VIE8W0O<W)C+W-U8G-R8R\*`"``
M``````$`&`#!A!X),0S/`<&$'@DQ#,\!N2(S`3$,SP%02P$"/P`4````"`"9
M52A$R!E_BXL```"S````(0`D`````````"`````B"@``4V%M<&QE4')O:F5C
M="]S<F,O<W5B<W)C+U-A;7!L92YH"@`@```````!`!@`"19[C3`,SP'9"S&%
M,`S/`=D+,84P#,\!4$L!`C\`"@``````XE4H1"/V"34R````,@```"(`)```
M```````@````[`H``%-A;7!L95!R;VIE8W0O<W)C+W-U8G-R8R]386UP;&4R
M+F@*`"````````$`&`!!MI7=,`S/`:EA^+4P#,\!J6'XM3`,SP%02P4&````
/``H`"@!`!```7@L`````
`
end
Re: CDT not recognizing IN and OUT keywords [message #1231432 is a reply to message #1229017] Tue, 14 January 2014 17:04 Go to previous message
Eduard Scheske is currently offline Eduard ScheskeFriend
Messages: 3
Registered: December 2013
Location: Germany
Junior Member
Quote:
When I include the header file containing the definition for MY_TYPE into that c file, then the errors are gone.


CDT have a scanner which parses your code and so try's to show warnings, errors, etc.
C have a specific structure how thing have to be. For example function declaration starts with a return type (builtin or custom).
If the scanner does not find this token somewere defined, it assumes an error!
Your compiler should although throw an error?

As far as i know C does not have IN OUT keywords! Is this some compiler specific or
do you define it in your code?
Previous Topic:Multiple "could not be resolved" problems
Next Topic:Remote execution of bash commands with IRemoteProcessBuilder
Goto Forum:
  


Current Time: Sun Dec 21 15:18:07 GMT 2014

Powered by FUDForum. Page generated in 0.01954 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software