Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Getting rid of non-existant errors, question about recognition of C++ standard things.

I have now looked through the file, Eclipse CDT has correctly picked up a directory that contains a directory with wx.h in it, (it has found wx/wx.h) and the macros defined are only those that have come from compiler invocations (it has not defined the _ macro found in wx.h, just things like __WXGTK__)

Alec

On 19/12/13 19:09, Alec Teal wrote:
I've never bothered with any of that, I've always relied on Eclipse CDT parsing the output of Make, it extracts libraries and such based on the compiler commands it reads.

This is very effective and has always worked in the past (recognises nothing -> build -> everything recognised)

Alec

On 19/12/13 18:57, Nathan Ridge wrote:
> It also can't resolve <wx/wx.h> - so it claims anyway.

This suggests that there is something wrong with the project configuration.

I don't think there is any point investigating parser errors until the project
configuration is fixed.

Can you take a look at your

<workspace>/.metadata/.plugins/org.eclipse.cdt.core/<project>.language.settings.xml

file and see whether the 'includePath' and 'macro' entries there are sensible?
A correct configuration will have the path that contains wx/wx.h as one of the
'includePath' entries of the source file that is including wx/wx.h.

Regards,
Nate


_______________________________________________
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