Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Eclipse complain about working code
Eclipse complain about working code [message #985381] Thu, 15 November 2012 10:56 Go to next message
Sverre Moe is currently offline Sverre MoeFriend
Messages: 57
Registered: September 2012
Member
Have the following C++ code which eclipse complains about. Running make gives out no error on this.
#include <unordered_map>

std::unordered_map<std::string, status> results;

std::unordered_map<std::string, status>::iterator result_iterator;


Quote:

Symbol 'unordered_map' could not be resolved


Same goes for any functions used with this unordered_map.

This is not the only one eclipse have a problem with.
#include <sigc++/signal.h>
#include <sigc++/connection.h>

sigc::signal<void, bool> _signal_connected;
sigc::connection conn_ml;

Eclipse have no problem with the code for sigc::signal, but complains about sigc::connection. Make goes fine and running the application also fine.

I hate having eclipse showing multiple errors where there is none. So how can I get eclipse to see that this is correct?
Re: Eclipse complain about working code [message #985391 is a reply to message #985381] Thu, 15 November 2012 11:01 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Please ask at the cdt forum.

Tom

Am 15.11.12 11:56, schrieb Sverre Moe:
> Have the following C++ code which eclipse complains about. Running make
> gives out no error on this.
>
> #include <unordered_map>
>
> std::unordered_map<std::string, status> results;
>
> std::unordered_map<std::string, status>::iterator result_iterator;
>
>
> Quote:
>> Symbol 'unordered_map' could not be resolved
>
>
> Same goes for any functions used with this unordered_map.
>
> This is not the only one eclipse have a problem with.
>
> #include <sigc++/signal.h>
> #include <sigc++/connection.h>
>
> sigc::signal<void, bool> _signal_connected;
> sigc::connection conn_ml;
>
> Eclipse have no problem with the code for sigc::signal, but complains
> about sigc::connection. Make goes fine and running the application also
> fine.
>
> I hate having eclipse showing multiple errors where there is none. So
> how can I get eclipse to see that this is correct?
Re: Eclipse complain about working code [message #985392 is a reply to message #985391] Thu, 15 November 2012 11:08 Go to previous messageGo to next message
Sverre Moe is currently offline Sverre MoeFriend
Messages: 57
Registered: September 2012
Member
I thought I did... Sorry.

Should I repost or could a moderator move this one?
Re: Eclipse complain about working code [message #985414 is a reply to message #985392] Thu, 15 November 2012 11:20 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Repost please.
Am 15.11.12 12:08, schrieb Sverre Moe:
> I thought I did... Sorry.
>
> Should I repost or could a moderator move this one?
Previous Topic:No MBasicPackage Interface
Next Topic:Making a fixed perspective in an e4 model?
Goto Forum:
  


Current Time: Sat Apr 27 00:45:05 GMT 2024

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

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

Back to the top