>    I compile the source code of fg_server-0.9.10,use the command lines:
> 
>      # export CXX=g++-4.0
>      #./configure
>      #make
> 
>    But I get the many error informations like this:
> 
>    fg_server.cpp: In member function 'int FG_SERVER::Init()'
>    fg_server.cpp:105: error: no match for 'operator<<' in
>    '((LOGOBJECT*)((LOGOBJECT*)((FG_SERVER*)this)->FG_SERVER::m_Log.
>    LOGOBJECT::log(L_ERROR))->LOGOBJECT::operator<< [with AnyType = const
>    char*](((const char*)"FG_SERVER::Init() - ")))->LOGOBJECT::operator<<
>    [with AnyType = const char*](((const char*)"failed to create listener
>    socket")) << std::endl'
>    logobject.hpp:67: note: candidates are: LOGOBJECT&
>    LOGOBJECT::operator<<(LOGOBJECT& (*)(LOGOBJECT&))

    That's the same error as using g++-4.1 to compile it. I've just
tried and it builds with g++-4.0 fine.

    Can you double check it is actually using g++-4.0 when you do the
make?


Pigeon.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to