Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » weird 'xxx is ambiguous' semantic errors
weird 'xxx is ambiguous' semantic errors [message #899535] Wed, 01 August 2012 10:55
Missing name Missing name is currently offline Missing name Missing nameFriend
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: index.php/fa/10963/0/

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

Previous Topic:debugger launch is slow (cygwin, gdb, C++)
Next Topic:What Cygwin Packages are necessary for Eclipse
Goto Forum:
  


Current Time: Mon Nov 24 12:42:24 GMT 2014

Powered by FUDForum. Page generated in 0.01601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software