Re: CDT not recognizing IN and OUT keywords [message #1229190] |
Wed, 08 January 2014 22:35 |
|
On 01/08/2014 07:50 AM, Priyadharshini Krushnan wrote:
> 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
Sticky post at top of forum:
http://www.eclipse.org/forums/index.php/t/161206/
|
|
|
Powered by
FUDForum. Page generated in 0.07750 seconds