netpanzer-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [netPanzer-Devel] NetPanzer compile failed


From: Matze Braun
Subject: Re: [netPanzer-Devel] NetPanzer compile failed
Date: Tue, 14 Oct 2003 19:24:19 +0200 (CEST)

Are you using g++ version >= 3.2 (like mentioned in the README)?

Greetings,
        Matze

On Tue, 14 Oct 2003, Flo wrote:

> Hi,
> 
> When I try to compile, a problems have occured in several .cpp files.
> 
> Look at the error messages bellow :
> 
> src/Lib/2D/Surface.cpp: In method `void Surface::horizontalWave(int, float, 
> int) ':
> src/Lib/2D/Surface.cpp:1380: implicit declaration of function `int 
> round(...)'
> src/Lib/View/Choice.cpp: In method `void Choice::draw(Surface &)':
> src/Lib/View/Choice.cpp:173: warning: unused variable `struct iXY 
> parentDimensio ns'
> src/Lib/View/String.cpp: In method `class String & String::operator 
> +=(const Str ing &)':
> src/Lib/View/String.cpp:94: implicit declaration of function `int 
> strcat(...)'
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp: In method `int 
> MapSelec tionView::loadMaps()':
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:166: no matching 
> functio n for call to 
> `basic_string<char,string_char_traits<char>,__default_alloc_templa 
> te<true,0> >::compare (size_t, size_t, string &)'
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++- 
> 3/std/bastring.cc:398 : candidates are: int 
> basic_string<char,string_char_traits<char>,__default_alloc 
> _template<true,0> >::compare(const 
> basic_string<char,string_char_traits<char>,__ 
> default_alloc_template<true,0> > &, unsigned int = 0, unsigned int = 
> basic_strin g<charT,traits,Allocator>::npos) const
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++- 
> 3/std/bastring.cc:417 :                 int 
> basic_string<char,string_char_traits<char>,__default_alloc 
> _template<true,0> >::compare(const char *, unsigned int, unsigned int) 
> const
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++- 
> 3/std/bastring.h:398:                  int 
> basic_string<char,string_char_traits<char>,__default_alloc_ 
> template<true,0> >::compare(const char *, unsigned int = 0) const
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:181: `::auto_ptr' 
> undecl ared (first use here)
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:181: parse error 
> before `>'
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:183: `file' 
> undeclared ( first use this function)
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:183: (Each 
> undeclared id entifier is reported only once
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:183: for each 
> function i t appears in.)
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:183: parse error 
> before `>'
> src/NetPanzer/Views/MainMenu/Multi/MapSelectionView.cpp:232: parse error 
> before `>'
> src/NetPanzer/Classes/SpawnList.cpp: In method `void 
> SpawnList::loadSpawnFile(co nst char *)':
> src/NetPanzer/Classes/SpawnList.cpp:53: `::auto_ptr' undeclared (first use 
> here)
> src/NetPanzer/Classes/SpawnList.cpp:53: parse error before `>'
> src/NetPanzer/Classes/SpawnList.cpp:57: `file' undeclared (first use this 
> functi on)
> src/NetPanzer/Classes/SpawnList.cpp:57: (Each undeclared identifier is 
> reported only once
> src/NetPanzer/Classes/SpawnList.cpp:57: for each function it appears in.)
> 
> Regards
> 
> -- 
> Florian Gossin
> 
> Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
> 
> 
> _______________________________________________
> netPanzer-Devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/netpanzer-devel
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]