Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] __LINE__ and __FILE__ generate error in editor

Thanks for the advice guys. I have figured out that our project definition didn’t define these macros correctly.

 

From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer
Sent: Wednesday, February 01, 2012 6:51 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] __LINE__ and __FILE__ generate error in editor

 

Yes, I see it's in the list of standard built-ins. They should always work, at least in theory.

On Wed, Feb 1, 2012 at 6:37 PM, Sergey Prigogin <eclipse.sprigogin@xxxxxxxxx> wrote:

Your example works fine for me. Have you tried to close and reopen the file?

 

-sergey

On Wed, Feb 1, 2012 at 2:19 PM, Chuong, Patrick <pchuong@xxxxxx> wrote:

Hi,

 

I am getting the C/C++ Indexer Marker for this piece of code.

 

Is there a way to add __FILE__ and __LINE__ to the parser or programmatically extend the parser to clean up the error in the editor?

 

Thanks,

Patrick

 

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 


_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

 


Back to the top