[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: 0.4.0 Testing



> Simply add the same line to main.cpp, too...
> And please let me know of all files you have to add this to in case
> there are even more.

Until now, they are game.cpp , mission.cpp , and main.cpp
then make clean, ./configure, make, then this message poped up: 
-----------------------------------------------------------------------
mklocale.cpp: In function `int main(int, char**)':
mklocale.cpp:230: error: use of `locale' is ambiguous
mklocale.cpp:41: error:   first declared as `const char*locale' here
/usr/include/c++/3.3.2/bits/locale_classes.h:57: error:   also declared
as `
   class std::locale' here
mklocale.cpp:237: error: use of `locale' is ambiguous
mklocale.cpp:41: error:   first declared as `const char*locale' here
/usr/include/c++/3.3.2/bits/locale_classes.h:57: error:   also declared
as `
   class std::locale' here
mklocale.cpp: In function `char parse_args(int, char**)':
mklocale.cpp:260: error: use of `locale' is ambiguous
mklocale.cpp:41: error:   first declared as `const char*locale' here
/usr/include/c++/3.3.2/bits/locale_classes.h:57: error:   also declared
as `
   class std::locale' here
mklocale.cpp:265: error: use of `locale' is ambiguous
mklocale.cpp:41: error:   first declared as `const char*locale' here
/usr/include/c++/3.3.2/bits/locale_classes.h:57: error:   also declared
as `
   class std::locale' here
make[1]: *** [mklocale.o] Error 1
make[1]: Leaving directory `/home/network/crimson-0.4.2.0pre1/tools'
make: *** [all-recursive] Error 1
------------------------------------------------------------------------

Something in file crimson/tools/mklocale.cpp should be fixed.

Brain @ TW



==========================================================
 PChome幫你把電腦老師請回家
 http://edm-prg.epaper.com.tw/click.php?ad_code=62474
==========================================================
 PChome交友~~幸福天天有 \*^o^*//
 http://love.pchome.com.tw/
==========================================================