Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Issue with the C/C++ Indexer

Please raise a bug on this. Looks like poor error handling in scanner.

Doug

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On
> Behalf Of dmsubs
> Sent: Tuesday, December 13, 2005 10:22 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] Issue with the C/C++ Indexer
> 
> Hi,
> 
> I am getting this error from the indexer:
>     C/C++ Indexer Problem: Invalid preprocessor directive : {0} in file:
> ...
> 
> For a line that says
>     # 12 "<path>"
> Which is accepted by the GCC compiler. If I change the line to
>     #line 12 "path>"
> The error goes away.
> 
> This is a file that has been pre-processed by the C preprocessor, and it
> is
> that which is emitting the directive.
> 
> Am I doing something wrong? Is this a known problem? Any advice?
> 
> Thanks
> 
> 
> ---
> Derek
> 
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top