|weird 'xxx is ambiguous' semantic errors [message #899535]
||Wed, 01 August 2012 06:55
| Missing name Missing name
Registered: October 2011
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 '
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 07:02]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01758 seconds