weird 'xxx is ambiguous' semantic errors [message #899535] |
Wed, 01 August 2012 10:55 |
Missing name Missing name Messages: 2 Registered: October 2011 |
Junior Member |
|
|
Has anyone else noticed this issue? CDT sometimes gives weird 'xxx is ambiguous' semantic errors. Xxx is different functions at different times, and sometimes xxx isn't even overloaded. The problem goes away when I restart eclipse, but a moment it shows up again for different functions.
I'm currently looking at a case where I get the following error:
'clear_to_color' is ambiguous '
Candidates are:
void clear_to_color(BITMAP *, int)
' mapbox.h /tegel/edit/include line 67 Semantic Error
Even though clear_to_color is not overloaded. The actual source in question is at tegel.svn.sourceforge.net/viewvc/tegel/trunk/edit/include/mapbox.h, although I doubt it will help you much, because the problem shows up differently every time, which makes this hard to reproduce. See also the attached screenshot:
Browsing these forums I find this has come up here and here, but clearly the problem isn't resolved yet.
A workaround is restarting eclipse. I've tried rebuilding the index doesn't help.
I'm using CDT 8, Eclipse indigo on Ubuntu 12.04
[Updated on: Wed, 01 August 2012 11:02] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03253 seconds