VS 0.4.1's setup.sh gives out of memory

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
diederick76
Explorer
Explorer
Posts: 12
Joined: Sun Feb 02, 2003 5:55 pm
Location: Amsterdam, the Netherlands
Contact:

VS 0.4.1's setup.sh gives out of memory

Post by diederick76 »

Hi,

I downloaded VS0.4.1. for Linux and having trouble compiling on my SuSE Pro 8.2 (gcc 3.3). At a certain moment it says:

cc1plus: out of memory allocating 925445664 bytes after a total of 9032320 bytes
make[5]: *** [c_alike.tab.o] Fout 1

It's true, I only have 0.5 GB, but I also have swap space, so there shouldn't be a memory problem, no?. (Fout is dutch for error) After that it goes on returning Fout 1 a couple of times and I end up with no vslauncher. I have enough swap, so does anyone know what I should do?

config.log only says there's lots of parse errors in /usr/include/GL/glext.h, but I don't see the connection. Or is there?

Is someone having the same problem too (and found a solution?) Hope someone can help me out. It was a long download.

Diederick de Vries, Netherlands
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

try this
type
cd vegastrike/src/cmd/script/c_alike
make
then copy the command line it spits out

and delete the -O3
then hit enter
it should build the problematic file
then run the seutp script again and it should continue where it left off

the problem is that compiling the old c_alike code takes a TON of memory with options on

and someone (not me) decided to make the configure.in use -O3 instead of -O2 (doh!)
that makes it take even more memory
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
diederick76
Explorer
Explorer
Posts: 12
Joined: Sun Feb 02, 2003 5:55 pm
Location: Amsterdam, the Netherlands
Contact:

memory error is gone, but still no vslaucher

Post by diederick76 »

After I did make, it didn't spill out one command line, but a whole if-fi construction which I couldn't paste onto one command line, so I edited the Makefile (but I don't know enough about this to do that, actually) and removed all the -O3 I could find. The memory error wasn't there anymore when I did make again, so I started the setup script again. It started everything all over again, and then returned

../../../src/boost129/boost/function/function_template.hpp: In function `
boost::python::api::object boost::python::make_function(F) [with F = void
(*)(int, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, unsigned int, float)]':
../../../src/boost129/boost/function/function_template.hpp:413: internal compiler error: in
c_expand_expr, at c-common.c:4321
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

After that it went on with installing the rest and I ended up again with only vssetup, vsinstall (if I run them as a user both only tell me they can't make dirs that already exist and can't find files they need) and no vslaucher. So is there something wrong with my compiler? g++ -v returns

gcc version 3.3 20030226 (prerelease) (SuSE Linux)

and I compiled other programs without these problems.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

what gcc version
if you have an old gcc (like 3.1 or older)you need to hack at the installer script
and change the ./configure to ./configure --enable-boost-128
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
diederick76
Explorer
Explorer
Posts: 12
Joined: Sun Feb 02, 2003 5:55 pm
Location: Amsterdam, the Netherlands
Contact:

3.3

Post by diederick76 »

gcc -v returns

gcc version 3.3 20030226 (prerelease) (SuSE Linux)

as I said, so I have gcc version 3.3, which is newer than 3.1, isn't it? Anyway, I get a strong feeling that I get no vslauncher because the compiler can't find what it is looking for. Here's the last part of the output:

if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -MT director_generic.o -MD -MP -MF ".deps/director_generic.Tpo" \
-c -o director_generic.o `test -f 'director_generic.cpp' || echo './'`director_generic.cpp; \
then mv ".deps/director_generic.Tpo" ".deps/director_generic.Po"; \
else rm -f ".deps/director_generic.Tpo"; exit 1; \
fi
../../../src/boost129/boost/function/function_template.hpp: In function `
boost::python::api::object boost::python::make_function(F) [with F = void
(*)(int, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, unsigned int, float)]':
../../../src/boost129/boost/function/function_template.hpp:413: internal compiler error: in
c_expand_expr, at c-common.c:4321
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[5]: *** [director_generic.o] Fout 1 [Error 1, D.]
make[5]: Leaving directory `/home/diederick/downloads/vegastrike-0.4.1-installer/vegastrike/src/cmd/script'
make[4]: *** [all-recursive] Fout 1
make[4]: Leaving directory `/home/diederick/downloads/vegastrike-0.4.1-installer/vegastrike/src/cmd/script'
make[3]: *** [all-recursive] Fout 1
make[3]: Leaving directory `/home/diederick/downloads/vegastrike-0.4.1-installer/vegastrike/src/cmd'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory `/home/diederick/downloads/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/home/diederick/downloads/vegastrike-0.4.1-installer/vegastrike'
make: *** [all] Fout 2
Compiling FleetYards...
Done

Time Elapsed: 0 second
mkdir: cannot create directory `/root/.vegastrike': Bestand bestaat [File exists, D.]
mv: cannot stat `../vegastrike/src/vegastrike': Onbekend bestand of [Unknown file or direcory, D.] map
mv: cannot stat `../vegastrike/src/networking/soundserver': Onbekend bestand of map
mv: cannot stat `../vegastrike/launcher/vslauncher': Onbekend bestand of map
chmod: failed to get attributes of `../vsfinalize': Onbekend bestand of map
mv: cannot stat `../vsfinalize': Onbekend bestand of map
install: cannot stat `./vegastrike': Onbekend bestand of map
install: cannot stat `./vslauncher': Onbekend bestand of map
mkdir: cannot create directory `/usr/local/man/man1': Bestand bestaat
install: cannot stat `./vegastrike.1': Onbekend bestand of map
install: cannot stat `./vslauncher.1': Onbekend bestand of map
install: cannot stat `./vsinstall.1': Onbekend bestand of map
install: cannot stat `./vssetup.1': Onbekend bestand of map
mkdir: cannot create directory `/usr/local': Bestand bestaat
mkdir: cannot create directory `/usr/local/share': Bestand bestaat
mkdir: cannot create directory `/usr/local/share/vegastrike': Bestand bestaat
mv: ongeldige optie -- r
Probeer `mv --help' voor meer informatie.
run vsinstall to setup your account
then run vslauncher to start Vega Strike

I checked for the unknown files, and can't find them either.

But maybe I misunderstood your first reply. What part of the output of make should I use, and was it actually wise to edit the Makefile the way I did?

Hope you can help me,
Diederick
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

with default makefile and everything just change the setup.sh to do
./configure --enable-boost-128

that should make it better... maybe gcc-3.3 is picky (brokeN) too
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
greyc

gcc-3.3

Post by greyc »

I'm not sure whether this is the reason for this specific problem, but gcc-3.3 (3.3.2 20030908 on Debian unstable to be exact) does indeed have some problems with vegastrike 0.4.1 that will cause the compile to crash and burn with the default settings, and can be fixed by passing --enable-boost-128 to ./configure.
Guest

Post by Guest »

Hi
I'm trying to compile in SuSE8.2 too (gcc --version == 3.3 20030226)

Just tried the --enable-boost-128 option, and it doesn't work.
The result is the same (or very similar):

if g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python -DHAVE_PYTHON=1 -DUSE_BOOST_128=1 -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -MT director_generic.o -MD -MP -MF ".deps/director_generic.Tpo" \
-c -o director_generic.o `test -f 'director_generic.cpp' || echo './'`director_generic.cpp; \
then mv -f ".deps/director_generic.Tpo" ".deps/director_generic.Po"; \
else rm -f ".deps/director_generic.Tpo"; exit 1; \
fi
../../../src/boost/boost/function/function_template.hpp: In function `bool
boost::python::handle_exception(T) [with T = void (*)()]':
../../../src/boost/boost/function/function_template.hpp:473: internal compiler error: in
c_expand_expr, at c-common.c:4321
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

SuSE 8.2 here as well. Same problem, I passed the --enable-boost-128 switch to ./configure and it still fails (1st attempt).

Does anyone else know of why this would happen???
SuSE Linux 9.1 Professional Edition User
Guest

Post by Guest »

Hi

A workaround for compiling in SuSE 8.2 is:
- download and install gcc 3.1.1 rpms, find it in any suse mirror (dir /contrib/gcc/8.2 ), it isn't official, read the README.
- pass -enable-boost-128 to configure
- Use -O2 if any compilation give OOMs (function inlining is eating _tons_ of mem in some cases, this can be limited too with "-finline-limit=100" in -O3)
- Add #define glXGetProcAddress glXGetProcAddressARB to the start of gl_init.cpp if its compilation breaks, as said in another thread of this forum.

And i think that's all... it worked for me this way
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

Does installing the 3.1.1 version of gcc require un-installing the previous version???

Where can I pick up the RPM for 3.1.1??? I tried google-ing it, but got no-where.
SuSE Linux 9.1 Professional Edition User
Guest

Post by Guest »

Sorry i messed the path, it's not /contrib, is /projects

In example you can find it here:
ftp://ftp.gwdg.de/pub/linux/suse/ftp.su ... ts/gcc/8.2
Or in any other SuSE mirror.

Read the README, you'll need updated libgcc and libstdc++, found in that directory too

To install use "rpm -Uvh blablabla.rpm", this is upgrading, this way you don't need to uninstall.
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

Did you mean gcc 3.3.1 or 3.1.1???

3.3.1 is what is available on the mirrors.
SuSE Linux 9.1 Professional Edition User
Guest

Post by Guest »

3.3.1

(argh... i'm a disaster)
JaseP
Merchant
Merchant
Posts: 40
Joined: Wed Sep 24, 2003 5:36 pm

Post by JaseP »

I tried upgrading to 3.3.1, but I apparently, my gcc was version 3.3-26. Now, it let me update my libstdc++, but not the other dependencies...
SuSE Linux 9.1 Professional Edition User
Guest

Post by Guest »

dependency problems? hmmm try this:
"rpm -aq | grep gcc"
this will list all gcc packages currently installed in your system, (g++, g77...)
get _all_ newer versions of these packages from that ftp, (plus libstdc++ but if you have it already upgraded then no need) and put them into an empty directory
now in that directory do (as root):
"rpm -Uvh *.rpm"

this way, since you're telling rpm to upgrade all gcc packages installed in your system it will not find (or sort out) any dependency problems (i hope)

and after you've compiled and installed VS get the .xml file announced in the homepage that fixes an awful bug
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Still Not Compiling...

Post by deepwave »

Ok so I did this /configure --enable-boost-128 and the other the stuff like updating the entire gcc library from 3.3 to 3.3.1

After a few hours of compiling and slaugthering my CPU and memory I got this from standard error output...

configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
communication_xml.cpp: In member function `void FSM::beginElement(const
std::string&, XMLSupport::AttributeList)':
communication_xml.cpp:57: warning: `float val' might be used uninitialized in
this function
communication_xml.cpp:59: warning: `unsigned char sexe' might be used
uninitialized in this function
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
fire.cpp: In member function `void TurretBin::AssignTargets(const
TargetAndRange&, const Matrix&)':
fire.cpp:206: warning: array subscript has type `char'
fire.cpp:207: warning: array subscript has type `char'
fire.cpp:208: warning: array subscript has type `char'
fire.cpp:210: warning: array subscript has type `char'
fire.cpp:211: warning: array subscript has type `char'
fire.cpp: In member function `void Orders::FireAt::PossiblySwitchTarget(bool)':
fire.cpp:403: warning: unused variable `float targetswitchprobability'
hard_coded_scripts.cpp: In constructor `Orders::LoopAround::LoopAround(bool,
int)':
hard_coded_scripts.cpp:151: warning: comparison between signed and unsigned
integer expressions
aggressive.cpp: In member function `bool
Orders::AggressiveAI::ProcessLogicItem(const AIEvents::AIEvresult&)':
aggressive.cpp:176: warning: unused variable `float game_accel'
warpto.cpp: In function `void WarpToP(Unit*, Unit*)':
warpto.cpp:37: warning: unused variable `float insys_jump_cost'
firekeyboard.cpp: In member function `virtual void FireKeyboard::Execute()':
firekeyboard.cpp:1281: warning: `bool forward' might be used uninitialized in
this function
firekeyboard.cpp:1310: warning: `bool forward' might be used uninitialized in
this function
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
script_call_olist.cpp: In member function `QVector
Mission::call_olist_tovector(missionNode*, int, varInst*)':
script_call_olist.cpp:338: warning: unused variable `olist_t*my_olist'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_call_order.cpp: In member function `varInst*
Mission::call_order(missionNode*, int)':
script_call_order.cpp:95: warning: unused variable `olist_t*pos_olist'
script_call_order.cpp:124: warning: unused variable `olist_t*pos_olist'
script_call_order.cpp:241: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:245: warning: unused variable `olist_t*desa_olist'
script_call_order.cpp:279: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:308: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:340: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:368: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:426: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:515: warning: unused variable `Order*res_order'
script_call_order.cpp:530: warning: unused variable `Order*res_order'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_variables.cpp: In member function `void Mission::doSetVar(missionNode*,
int)':
script_variables.cpp:540: warning: unused variable `bool res'
script_variables.cpp:543: warning: unused variable `double res'
script_variables.cpp:546: warning: unused variable `float res'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_statement.cpp: In member function `void Mission::doWhile(missionNode*,
int)':
script_statement.cpp:145: warning: unused variable `bool res'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_expression.cpp: In member function `bool Mission::doAndOr(missionNode*,
int)':
script_expression.cpp:548: warning: `bool ok' might be used uninitialized in
this function
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_callbacks.cpp: In member function `varInst*
Mission::doCall(missionNode*, int, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
script_callbacks.cpp:190: warning: unused variable `float size'
script_callbacks.cpp: In member function `varInst*
Mission::call_musicPlayList(missionNode*, int)':
script_callbacks.cpp:789: warning: unused variable `int which'
{standard input}: Assembler messages:
{standard input}:11315: Warning: end of file not at end of a line; newline inserted
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://www.suse.de/feedback> for instructions.

{standard input}:13483: Error: expecting operand after ','; got nothing
make[5]: *** [script_callbacks.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Compiling FleetYards... generalcentraldisplay_gtk../src/include/display_gtk.cpp: In function `void AddCats(GtkWidget*, char*,
char*)':
../src/include/display_gtk.cpp:133: warning: unused variable `char*new_text'
../src/include/display_gtk.cpp:134: warning: unused variable `int length'
../src/include/display_gtk.cpp:135: warning: unused variable `GtkWidget*button'
../src/include/display_gtk.cpp: In function `void ClickButton(GtkWidget*,
catagory*)':
../src/include/display_gtk.cpp:160: warning: unused variable `GtkWidget*label'
file
setup... BuildingLinking Done

mkdir: cannot create directory `/root/.vegastrike': File exists
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
mv: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
mv: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
chmod: failed to get attributes of `../vsfinalize': No such file or directory
mv: cannot stat `../vsfinalize': No such file or directory
install: cannot stat `./vsinstall': No such file or directory
install: cannot stat `./vegastrike': No such file or directory
install: cannot stat `./vslauncher': No such file or directory
mkdir: cannot create directory `/usr/local/man/man1': File exists
install: cannot stat `./vegastrike.1': No such file or directory
install: cannot stat `./vslauncher.1': No such file or directory
install: cannot stat `./vsinstall.1': No such file or directory
install: cannot stat `./vssetup.1': No such file or directory
mkdir: cannot create directory `/usr/local': File exists
mkdir: cannot create directory `/usr/local/share': File exists
mkdir: cannot create directory `/usr/local/share/vegastrike': File exists
mv: invalid option -- r
Try `mv --help' for more information.

It looks like my machine gave up the ghost. Which is strange because I am running a laptop with a Pentium 4 (1.7 GHz), 256 MB Ram, 40 GB and I have a HUGE swap file for SuSE Linux 8.2 Pro. Any ideas?

By the way, how long did it take to actually compile the thing on a similar system using some other Linux distro? I actually thought compiling the kernel and its ten billion modules was long...

I downloaded the Windows binary and I must the game is good. A little rough on a non-high end system but awesome. And they say, non-commerical games are less demanding on hardware because they are lower quality. :roll:
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

takes 40 mins on my 600 MHz laptop and 10 minutes on my 2.4 GHz desktop
but I compile in debug...
no such compiler errors
what compiler version are you using?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Just 40 MINUTES!!!

Post by deepwave »

Wow! Just 40 mins!!! That is crazy, I mean my machine is doing something really wierd... :shock:

gcc -v == 3.3.1 (SuSE Linux)
Guest

Post by Guest »

script_callbacks.cpp: In member function `varInst*
Mission::call_musicPlayList(missionNode*, int)':
script_callbacks.cpp:789: warning: unused variable `int which'
{standard input}: Assembler messages:
{standard input}:11315: Warning: end of file not at end of a line; newline inserted
g++: Internal error: Killed (program cc1plus)
you say it craps in script_callbacks?

I remember thats one of the two files where the -O3 optimization uses _HUGE_ amounts of memory (>>512Mb, the other one is config_xml.cpp), try recompiling this file(s) with -O2 as explained in .... huh ... another thread (my memory sux, sorry)

about compiling time... is under 10mins (P3 900Mhz) when i use O2 in the files that use too much memory... otherwise it swaps like crazy and i'm not patient enough to time it (in the order of hours, i suppose)
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Thanks but...

Post by deepwave »

Thanks alot for the -02 tip. It took a bit of time for my to figure out that one had to go into configure.in and change every -03 to -02.

That definitely cut the time down though... it still seems to cut out when it hits gl.o !!! See:...

launcher/Makefile.am: installing `./depcomp'

configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##

../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
fire.cpp: In member function `void TurretBin::AssignTargets(const
TargetAndRange&, const Matrix&)':
fire.cpp:206: warning: array subscript has type `char'
fire.cpp:207: warning: array subscript has type `char'
fire.cpp:208: warning: array subscript has type `char'
fire.cpp:210: warning: array subscript has type `char'
fire.cpp:211: warning: array subscript has type `char'
fire.cpp: In member function `void Orders::FireAt::PossiblySwitchTarget(bool)':
fire.cpp:403: warning: unused variable `float targetswitchprobability'
hard_coded_scripts.cpp: In constructor `Orders::LoopAround::LoopAround(bool,
int)':
hard_coded_scripts.cpp:151: warning: comparison between signed and unsigned
integer expressions
aggressive.cpp: In member function `bool
Orders::AggressiveAI::ProcessLogicItem(const AIEvents::AIEvresult&)':
aggressive.cpp:176: warning: unused variable `float game_accel'
warpto.cpp: In function `void WarpToP(Unit*, Unit*)':
warpto.cpp:37: warning: unused variable `float insys_jump_cost'
../../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)'
defined but not used
../../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&,
const GFXColor&)' defined but not used
c_alike.yacc: In function `int yyparse()':
c_alike.yacc:132: warning: comparison between signed and unsigned integer
expressions
c_alike.yacc:165: warning: comparison between signed and unsigned integer
expressions
/usr/lib/bison.simple:614: warning: comparison between signed and unsigned
integer expressions
/usr/lib/bison.simple:626: warning: comparison between signed and unsigned
integer expressions
lex.yy.cpp: In function `int yylex()':
lex.yy.cpp:718: warning: label `find_rule' defined but not used
c_alike.lex: At top level:
lex.yy.cpp:1775: warning: `void* yy_flex_realloc(void*, unsigned int)' defined
but not used
lex.yy.cpp:1263: warning: `void yyunput(int, char*)' defined but not used
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
script_call_olist.cpp: In member function `QVector
Mission::call_olist_tovector(missionNode*, int, varInst*)':
script_call_olist.cpp:338: warning: unused variable `olist_t*my_olist'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_call_order.cpp: In member function `varInst*
Mission::call_order(missionNode*, int)':
script_call_order.cpp:95: warning: unused variable `olist_t*pos_olist'
script_call_order.cpp:124: warning: unused variable `olist_t*pos_olist'
script_call_order.cpp:241: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:245: warning: unused variable `olist_t*desa_olist'
script_call_order.cpp:279: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:308: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:340: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:368: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:426: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:515: warning: unused variable `Order*res_order'
script_call_order.cpp:530: warning: unused variable `Order*res_order'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_variables.cpp: In member function `void Mission::doSetVar(missionNode*,
int)':
script_variables.cpp:540: warning: unused variable `bool res'
script_variables.cpp:543: warning: unused variable `double res'
script_variables.cpp:546: warning: unused variable `float res'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_statement.cpp: In member function `void Mission::doWhile(missionNode*,
int)':
script_statement.cpp:145: warning: unused variable `bool res'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_callbacks.cpp: In member function `varInst*
Mission::doCall(missionNode*, int, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
script_callbacks.cpp:190: warning: unused variable `float size'
script_callbacks.cpp: In member function `varInst*
Mission::call_musicPlayList(missionNode*, int)':
script_callbacks.cpp:789: warning: unused variable `int which'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_generic.cpp: In member function `void
Mission::call_unit_toxml(missionNode*, int, varInst*)':
script_generic.cpp:10: warning: unused variable `Flightgroup*fg'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_call_unit_generic.cpp: In member function `Unit*
Mission::call_unit_launch(CreateFlightgroup*, int, const std::string&)':
script_call_unit_generic.cpp:1210: warning: unused variable `int ret'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)'
defined but not used
../../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&,
const GFXColor&)' defined but not used
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
In file included from prapid.cpp:68:
garray.h:142:1: warning: "CS_DECLARE_GROWING_ARRAY_REF" redefined
In file included from prapid.cpp:63:
cs_compat.h:80:1: warning: this is the location of the previous definition
unit_generic.cpp: In member function `virtual void
Unit::reactToCollision(Unit*, const QVector&, const Vector&, const QVector&,
const Vector&, float)':
unit_generic.cpp:149: warning: unused variable `float bouncepercent'
unit_generic.cpp: In member function `void Unit::Init()':
unit_generic.cpp:493: warning: assignment to `short int' from `float'
unit_generic.cpp:493: warning: argument to `short int' from `float'
unit_generic.cpp:604: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `bool Unit::AutoPilotTo(Unit*, bool, int)
':
unit_generic.cpp:1799: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:1799: warning: argument to `short unsigned int' from `float'
unit_generic.cpp: In member function `void Unit::RegenShields()':
unit_generic.cpp:2363: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2363: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2365: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2365: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2367: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2367: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2369: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2369: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2376: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2376: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2378: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2378: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2380: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2380: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2382: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2382: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2384: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2384: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2386: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2386: warning: argument to `short unsigned int' from `float'
unit_generic.cpp: In member function `void Unit::DamageRandSys(float, const
Vector&, float, float)':
unit_generic.cpp:2768: warning: assignment to `short int' from `float'
unit_generic.cpp:2768: warning: argument to `short int' from `float'
unit_generic.cpp:2774: warning: assignment to `short int' from `float'
unit_generic.cpp:2774: warning: argument to `short int' from `float'
unit_generic.cpp:2789: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2789: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2798: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp:2799: warning: assignment to `int' from `float'
unit_generic.cpp:2799: warning: argument to `int' from `float'
unit_generic.cpp:2845: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2845: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2847: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2847: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2849: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2849: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2851: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2851: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2856: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2856: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2858: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2858: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2881: warning: assignment to `short int' from `float'
unit_generic.cpp:2881: warning: argument to `short int' from `float'
unit_generic.cpp:2883: warning: assignment to `unsigned char' from `float'
unit_generic.cpp:2883: warning: argument to `unsigned char' from `float'
unit_generic.cpp: In member function `void Unit::leach(float, float, float)':
unit_generic.cpp:2992: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2992: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2993: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2993: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2994: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2994: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2995: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2995: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2998: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2998: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2999: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2999: warning: argument to `short unsigned int' from `float'
unit_generic.cpp: In static member function `static void
WeaponComparator<FORWARD>::ToggleWeaponSet(Unit*, bool)':
unit_generic.cpp:3537: warning: `std::set<WeaponGroup,
WeaponComparator<FORWARD>, std::allocator<WeaponGroup> >::const_iterator' is
implicitly a typename
unit_generic.cpp:3537: warning: implicit typename is deprecated, please see the
documentation for details
unit_generic.cpp:3559: warning: `std::set<WeaponGroup,
WeaponComparator<FORWARD>, std::allocator<WeaponGroup> >::const_iterator' is
implicitly a typename
unit_generic.cpp:3559: warning: implicit typename is deprecated, please see the
documentation for details
unit_generic.cpp: In member function `bool Unit::EndRequestClearance(Unit*)':
unit_generic.cpp:3791: warning: unused variable `int whichdockport'
unit_generic.cpp: In member function `int Unit::ForceDock(Unit*, int)':
unit_generic.cpp:3898: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `int Unit::Dock(Unit*)':
unit_generic.cpp:3944: warning: control reaches end of non-void function
unit_generic.cpp: In function `std::map<VCString, VCString,
std::less<VCString>, std::allocator<std::pair<const VCString, VCString> > >
parseTurretSizes()':
unit_generic.cpp:4240: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `bool Unit::UpgradeMounts(const Unit*,
int, bool, bool, int&, const Unit*, double&)':
unit_generic.cpp:4304: warning: assignment to `short int' from `float'
unit_generic.cpp:4304: warning: argument to `short int' from `float'
unit_generic.cpp:4326: warning: assignment to `int' from `float'
unit_generic.cpp:4326: warning: argument to `int' from `float'
unit_generic.cpp:4333: warning: assignment to `int' from `float'
unit_generic.cpp:4333: warning: argument to `int' from `float'
unit_generic.cpp:4356: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `bool Unit::UpAndDownGrade(const Unit*,
const Unit*, int, int, bool, bool, int, bool, double&, const Unit*, bool)':
unit_generic.cpp:4634: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4634: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4635: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4635: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4636: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4636: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4637: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4637: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4645: warning: assignment to `unsigned char' from `double'
unit_generic.cpp:4645: warning: argument to `unsigned char' from `double'
unit_generic.cpp:4648: warning: assignment to `short int' from `double'
unit_generic.cpp:4648: warning: argument to `short int' from `double'
unit_generic.cpp:4650: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4650: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4684: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4684: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4685: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4685: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4686: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4686: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4687: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4687: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4690: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4690: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4691: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4691: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4710: warning: assignment to `char' from `double'
unit_generic.cpp:4710: warning: argument to `char' from `double'
unit_generic.cpp:4792: warning: comparison is always true due to limited range
of data type
unit_generic.cpp: In member function `bool Unit::ReduceToTemplate()':
unit_generic.cpp:4860: warning: unused variable `int upfac'
unit_generic.cpp: In member function `float Unit::CargoVolume() const':
unit_generic.cpp:5229: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `void Unit::ImportPartList(const
std::string&, float, float, float, float)':
unit_generic.cpp:5363: warning: assignment to `int' from `float'
unit_generic.cpp:5363: warning: argument to `int' from `float'
unit_generic.cpp:5368: warning: assignment to `int' from `double'
unit_generic.cpp:5368: warning: argument to `int' from `double'
unit_generic.cpp:5385: warning: assignment to `int' from `float'
unit_generic.cpp:5385: warning: argument to `int' from `float'
unit_generic.cpp: In member function `void Unit::Repair()':
unit_generic.cpp:5640: warning: assignment to `short int' from `float'
unit_generic.cpp:5640: warning: argument to `short int' from `float'
unit_const_cache.h: At top level:
unit_generic.cpp:216: warning: `float GetJumpFuelQuantity()' defined but not
used
unit_generic.cpp:1682: warning: `float tempmin(float, float)' defined but not
used
planet_generic.cpp: In function `void beginPlanetElement(void*, const
XML_Char*, const XML_Char**)':
planet_generic.cpp:340: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp: In function `std::string KillQuadZeros(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
unit_xml.cpp:30: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp: In function `std::string
MakeUnitXMLPretty(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, Unit*)':
unit_xml.cpp:66: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp:67: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp: In function `void pushMesh(Unit::XML*, const char*, float, int,
Flightgroup*, int, double)':
unit_xml.cpp:453: warning: unused variable `float anitime'
unit_xml.cpp: In member function `void Unit::beginElement(const std::string&,
const XMLSupport::AttributeList&)':
unit_xml.cpp:1038: warning: assignment to `short int' from `float'
unit_xml.cpp:1038: warning: argument to `short int' from `float'
unit_xml.cpp: In member function `void Unit::LoadXML(const char*, const char*,
std::string*)':
unit_xml.cpp:1983: warning: unused variable `csRapidCollider*colTree'
unit_functions_generic.cpp: In function `signed char
ComputeAutoGuarantee(Unit*)':
unit_functions_generic.cpp:70: warning: comparison between signed and unsigned
integer expressions
mount.cpp: In member function `bool Mount::PhysicsAlignedFire(const
Transformation&, const Matrix&, const Vector&, Unit*, Unit*, signed char,
float, int)':
mount.cpp:244: warning: enumeration value `UNKNOWN' not handled in switch
alphacurve.cpp: In function `int get_alpha(int, int, int, int, double, double,
int, int)':
alphacurve.cpp:37: warning: initialization to `int' from `double'
alphacurve.cpp:37: warning: argument to `int' from `double'
alphacurve.cpp:41: warning: initialization to `int' from `double'
alphacurve.cpp:41: warning: argument to `int' from `double'
alphacurve.cpp:85: warning: assignment to `int' from `double'
alphacurve.cpp:85: warning: argument to `int' from `double'
alphacurve.cpp:95: warning: assignment to `int' from `double'
alphacurve.cpp:95: warning: argument to `int' from `double'
alphacurve.cpp:105:55: warning: no newline at end of file
unit_collide.cpp:181: warning: `float tmpmax(float, float)' defined but not
used
role_bitmask.cpp: In function `std::vector<std::string,
std::allocator<std::string> > ROLES::readCSV(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
role_bitmask.cpp:44: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp:46: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp: In function `std::vector<std::vector<std::string,
std::allocator<std::string> >, std::allocator<std::vector<std::string,
std::allocator<std::string> > > > ROLES::buildscripts()':
role_bitmask.cpp:73: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp: In function `std::vector<std::vector<char,
std::allocator<char> >, std::allocator<std::vector<char,
std::allocator<char> > > > ROLES::buildroles()':
role_bitmask.cpp:140: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp:124: warning: unused variable `int loc'
role_bitmask.cpp:112: warning: unused variable `int count'
role_bitmask.cpp: In function `unsigned char ROLES::getRole(const std::string&)
':
role_bitmask.cpp:163: warning: unused variable `int temp'
role_bitmask.cpp: In function `unsigned int ROLES::readBitmask(const
std::string&)':
role_bitmask.cpp:173: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp:175: warning: comparison between signed and unsigned integer
expressions
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
base_interface.cpp: In destructor `BaseInterface::Room::~Room()':
base_interface.cpp:42: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:46: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `virtual void
BaseInterface::Room::BaseShip::Draw(BaseInterface*)':
base_interface.cpp:74: warning: initialization to `int' from `float'
base_interface.cpp:74: warning: argument to `int' from `float'
base_interface.cpp: In member function `void
BaseInterface::Room::Draw(BaseInterface*)':
base_interface.cpp:98: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `virtual void
BaseInterface::Room::BaseTalk::Draw(BaseInterface*)':
base_interface.cpp:125: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:137: warning: unused variable `
BaseInterface::Room::BaseObj*self'
base_interface.cpp: In member function `int
BaseInterface::Room::MouseOver(BaseInterface*, float, float)':
base_interface.cpp:153: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `void
BaseInterface::Room::Click(BaseInterface*, float, float, int, int)':
base_interface.cpp:293: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:296: warning: initialization to `int' from `float'
base_interface.cpp:296: warning: argument to `int' from `float'
base_interface.cpp:297: warning: initialization to `int' from `float'
base_interface.cpp:297: warning: argument to `int' from `float'
base_interface.cpp: In member function `void BaseInterface::GotoLink(int)':
base_interface.cpp:391: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In destructor `BaseInterface::~BaseInterface()':
base_interface.cpp:422: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In constructor `
BaseInterface::Room::Talk::Talk(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
base_interface.cpp:452: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:452: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `void BaseInterface::Draw()':
base_interface.cpp:707: warning: comparison between signed and unsigned integer
expressions
ai/communication.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
base_init.cpp: In function `boost::python::tuple GetRandomBarMessage()':
base_init.cpp:27: warning: comparison between signed and unsigned integer
expressions
base_init.cpp:27: warning: comparison between signed and unsigned integer
expressions
/usr/include/g++/bits/stl_vector.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
base_util.cpp: In function `BaseInterface::Room* BaseUtil::CheckRoom(int)':
base_util.cpp:8: warning: comparison between signed and unsigned integer
expressions
base_util.cpp: In function `void BaseUtil::EraseLink(int,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
base_util.cpp:132: warning: comparison between signed and unsigned integer
expressions
base_util.cpp: In function `void BaseUtil::EraseObj(int,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
base_util.cpp:144: warning: comparison between signed and unsigned integer
expressions
base.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
basecomputer.cpp: In member function `bool BaseComputer::scrollToItem(Picker*,
const Cargo&, bool, bool)':
basecomputer.cpp:1120: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1142: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `bool BaseComputer::isTransactionOK(const
Cargo&, BaseComputer::TransactionType, int)':
basecomputer.cpp:1507: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `SimplePickerCell*
BaseComputer::createCategoryCell(SimplePickerCells&, const std::string&,
bool)':
basecomputer.cpp:1534: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1558: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `void
BaseComputer::loadListPicker(BaseComputer::TransactionList&, SimplePicker&,
BaseComputer::TransactionType, bool)':
basecomputer.cpp:1590: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `void BaseComputer::loadMasterList(Unit*,
const std::vector<std::string, std::allocator<std::string> >&, const
std::vector<std::string, std::allocator<std::string> >&, bool,
BaseComputer::TransactionList&)':
basecomputer.cpp:1657: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1663: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `int
BaseComputer::maxQuantityForPlayer(const Cargo&, int)':
basecomputer.cpp:1725: warning: assignment to `int' from `float'
basecomputer.cpp:1725: warning: argument to `int' from `float'
basecomputer.cpp:1729: warning: assignment to `int' from `double'
basecomputer.cpp:1729: warning: argument to `int' from `double'
basecomputer.cpp: In member function `void
BaseComputer::loadMissionsMasterList(BaseComputer::TransactionList&)':
basecomputer.cpp:1910: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1911: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1919: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1921: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1935: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `bool BaseComputer::acceptMission(const
EventCommandId&, Control*)':
basecomputer.cpp:1988: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1996: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `bool matchCargoToWeapon(const std::string&,
const std::string&)':
basecomputer.cpp:2587: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `Cargo CreateCargoForOwnerStarship(Cockpit*, int)
':
basecomputer.cpp:2817: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `Cargo CreateCargoForOwnerStarshipName(Cockpit*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
int&)':
basecomputer.cpp:2837: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `void SwapInNewShipName(Cockpit*, const
std::string&, int)':
basecomputer.cpp:2853: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2858: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2861: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2872: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2875: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `void
BaseComputer::loadShipDealerControls()':
basecomputer.cpp:2894: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `bool BaseComputer::showPlayerInfo(const
EventCommandId&, Control*)':
basecomputer.cpp:3070: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:3077: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/unit_const_cache.h: At top level:
basecomputer.cpp:229: warning: `std::string& tolower(std::string&)' defined but
not used
briefing.cpp: In member function `void Briefing::SetCloak(int, float)':
briefing.cpp:17: warning: comparison between signed and unsigned integer
expressions
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
unit_interface.cpp: In member function `void
UpgradingInfo::SetMode(UpgradingInfo::BaseMode, UpgradingInfo::SubMode)':
unit_interface.cpp:370: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp:393: warning: enumeration value `NORMAL' not handled in
switch
unit_interface.cpp: In member function `void UpgradingInfo::SetupCargoList()':
unit_interface.cpp:454: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:467: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:516: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:528: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:488: warning: unused variable `bool gottencolor'
unit_interface.cpp:592: warning: enumeration value `NORMAL' not handled in
switch
unit_interface.cpp:592: warning: enumeration value `STOP_MODE' not handled in
switch
unit_interface.cpp: In function `void CargoToMission(const char*, TextArea*,
Unit*)':
unit_interface.cpp:670: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:671: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp: In member function `bool UpgradingInfo::SelectItem(const
char*, int, int)':
unit_interface.cpp:753: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:825: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In function `void SwapInNewShipName(Cockpit*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int)
':
unit_interface.cpp:881: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:900: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:903: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp: In member function `void UpgradingInfo::CommitItem(const
char*, int, int)':
unit_interface.cpp:1108: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1115: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1116: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1082: warning: enumeration value `STOP_MODE' not handled in
switch
unit_interface.cpp:1146: warning: enumeration value `BRIEFINGMODE' not handled
in switch
unit_interface.cpp:1146: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1146: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1146: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In member function `void
UpgradingInfo::CompleteTransactionAfterTurretSelect()':
unit_interface.cpp:1182: warning: enumeration value `BUYMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `SELLMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `MISSIONMODE' not handled
in switch
unit_interface.cpp:1182: warning: enumeration value `BRIEFINGMODE' not handled
in switch
unit_interface.cpp:1182: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `SHIPDEALERMODE' not
handled in switch
unit_interface.cpp:1182: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In member function `void
UpgradingInfo::SelectLastSelected()':
unit_interface.cpp:1195: warning: passing `float' for argument 2 of `void
UpgradingInfo::ProcessMouse(int, int, int, int, int)'
unit_interface.cpp:1195: warning: passing `float' for argument 3 of `void
UpgradingInfo::ProcessMouse(int, int, int, int, int)'
unit_interface.cpp: In member function `void
UpgradingInfo::CompleteTransactionConfirm()':
unit_interface.cpp:1233: warning: unused variable `Cargo*tmp'
unit_interface.cpp:1256: warning: enumeration value `BUYMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `SELLMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `MISSIONMODE' not handled
in switch
unit_interface.cpp:1256: warning: enumeration value `BRIEFINGMODE' not handled
in switch
unit_interface.cpp:1256: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `SHIPDEALERMODE' not
handled in switch
unit_interface.cpp:1256: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In function `std::string GetNumKills(Unit*)':
unit_interface.cpp:1382: warning: initialization to `int' from `double'
unit_interface.cpp:1382: warning: argument to `int' from `double'
unit_interface.cpp:1384: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1391: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp: In member function `std::vector<CargoColor,
std::allocator<CargoColor> >& UpgradingInfo::MakeMissionsFromSavegame(Unit*)
':
unit_interface.cpp:1456: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1456: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1459: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1462: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1469: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1477: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp: In function `Cargo GetCargoForOwnerStarship(Cockpit*, int)
':
unit_interface.cpp:1519: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp: In member function `std::vector<CargoColor,
std::allocator<CargoColor> >& UpgradingInfo::GetCargoFor(Unit*)':
unit_interface.cpp:1580: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1580: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In member function `std::vector<CargoColor,
std::allocator<CargoColor> >& UpgradingInfo::GetCargoList()':
unit_interface.cpp:1641: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1641: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1641: warning: enumeration value `MAXMODE' not handled in
switch
unit_const_cache.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
bolt_server.cpp: In member function `Bolt::Bolt(const weapon_info&, const
Matrix&, const Vector&, Unit*)':
bolt_server.cpp:52: warning: unused variable `bolt_draw*q'
In file included from navgetxmldata.cpp:1:
navgetxmldata.h:23:7: warning: no newline at end of file
navgetxmldata.cpp: In function `std::string
retrievedata(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
navgetxmldata.cpp:151: warning: comparison between signed and unsigned integer
expressions
navgetxmldata.cpp:23: warning: unused variable `int testlength'
navgetxmldata.cpp:211:3: warning: no newline at end of file
In file included from navscreen.cpp:41:
navgetxmldata.h:23:7: warning: no newline at end of file
In file included from navscreen.cpp:43:
navparse.h: In member function `bool
NavigationSystem::ParseFile(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
navparse.h:380: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp: In member function `void NavigationSystem::Setup()':
navscreen.cpp:143: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp: In member function `void NavigationSystem::DrawMission()':
navscreen.cpp:627: warning: initialization to `int' from `double'
navscreen.cpp:627: warning: argument to `int' from `double'
navscreen.cpp:629: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp:638: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp: In member function `void NavigationSystem::DrawShip()':
navscreen.cpp:692: warning: unused variable `float deltay'
navscreen.cpp:697: warning: unused variable `int foundpos'
navscreen.cpp: In member function `void
NavigationSystem::TranslateAndDisplay(QVector&, QVector&, float, float,
float, float, float, float&, float&, float&)':
navscreen.cpp:1483: warning: unused variable `float itemscale'
drawgalaxy.cpp: In function `void Beautify(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::string&, std::string&)
':
drawgalaxy.cpp:50: warning: comparison between signed and unsigned integer
expressions
drawgalaxy.cpp: In member function `QVector
NavigationSystem::SystemIterator::Position()':
drawgalaxy.cpp:226: warning: unused variable `float y'
drawgalaxy.cpp: In member function `void NavigationSystem::DrawGalaxy()':
drawgalaxy.cpp:580: warning: comparison between signed and unsigned integer
expressions
drawgalaxy.cpp:607: warning: comparison between signed and unsigned integer
expressions
drawsystem.cpp: In member function `void NavigationSystem::DrawSystem()':
drawsystem.cpp:264: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
sphere_generic.cpp: In function `std::string truncateByPipe(std::string&)':
sphere_generic.cpp:36: warning: comparison between signed and unsigned integer
expressions
sphere_generic.cpp: In member function `void SphereMesh::InitSphere(float, int,
int, const char*, const char*, bool, BLENDFUNC, BLENDFUNC, bool, float,
float, float, float, FILTER, bool)':
sphere_generic.cpp:171: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
jpeg_memory.cpp: In function `void jpeg_decompress(unsigned char*, unsigned
char*, int, int*, int*)':
jpeg_memory.cpp:181: warning: comparison between signed and unsigned integer
expressions
jpeg_memory.cpp: In function `void jpeg_decompress_from_file(unsigned char*,
char*, int, int*, int*)':
jpeg_memory.cpp:214: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp: In member function `void Mesh::Draw(float, const Matrix&, float,
short int, float, unsigned char, bool)':
mesh_gfx.cpp:261: warning: array subscript has type `char'
mesh_gfx.cpp: In member function `virtual void Mesh::ProcessDrawQueue(int, int)
':
mesh_gfx.cpp:627: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp: In member function `void Mesh::CreateLogos(int, Flightgroup*)':
mesh_gfx.cpp:827: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp:829: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp:831: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `virtual Texture* AnimatedTexture::Clone()
':
ani_texture.cpp:93: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `void AnimatedTexture::Destroy()':
ani_texture.cpp:121: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `void AnimatedTexture::Load(char*, int,
int, FILTER, bool)':
ani_texture.cpp:148: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `void AnimatedTexture::Load(FILE*, int,
FILTER, bool)':
ani_texture.cpp:183: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp:194: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
aux_texture.cpp: In member function `virtual void Texture::MakeActive(int)':
aux_texture.cpp:860: warning: unused variable `bool missing'
aux_texture.cpp: In member function `virtual void Texture::MakeActive()':
aux_texture.cpp:870: warning: unused variable `bool missing'
png_texture.cpp: In function `unsigned char* readVSJpeg2(char*, int, int&,
int&, long unsigned int&, long unsigned int&, unsigned char*(*)(int&, int&,
long unsigned int&, long unsigned int&, unsigned char**))':
png_texture.cpp:240: warning: comparison between signed and unsigned integer
expressions
png_texture.cpp: In function `unsigned char* readVSJpeg(FILE*, int&, int&, long
unsigned int&, long unsigned int&, unsigned char*(*)(int&, int&, long
unsigned int&, long unsigned int&, unsigned char**))':
png_texture.cpp:313: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cockpit.cpp: In member function `virtual void GameCockpit::ReceivedTargetInfo()
':
cockpit.cpp:71: warning: comparison between signed and unsigned integer
expressions
cockpit.cpp: In member function `virtual void GameCockpit::DrawBlips(Unit*)':
cockpit.cpp:571: warning: unused variable `Unit::Computer::RADARLIM*radarl'
cockpit.cpp:578: warning: unused variable `float s'
cockpit.cpp:578: warning: unused variable `float t'
cockpit.cpp: In function `void RespawnNow(Cockpit*)':
cockpit.cpp:1068: warning: comparison between signed and unsigned integer
expressions
cockpit.cpp:1070: warning: comparison between signed and unsigned integer
expressions
/usr/include/g++/bits/stl_vector.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
cockpit.cpp:1160: warning: `void FaceTarget(Unit*, const QVector&, Unit*)'
defined but not used
coord_select.cpp: In static member function `static void
CoordinateSelect::MouseMoveHandle(KBSTATE, int, int, int, int, int)':
coord_select.cpp:13: warning: array subscript has type `char'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
env_map_gent.cpp: In function `bool LoadTex(char*, unsigned char (*)[512][3])':
env_map_gent.cpp:297: warning: unused variable `float scaledconstX'
env_map_gent.cpp:298: warning: unused variable `float scaledconstY'
env_map_gent.cpp: In function `void Spherize(CubeCoord (*)[512], CubeCoord
(*)[512], unsigned char*)':
env_map_gent.cpp:399: warning: initialization to `unsigned int' from `float'
env_map_gent.cpp:399: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:400: warning: initialization to `unsigned int' from `float'
env_map_gent.cpp:400: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:401: warning: initialization to `unsigned int' from `float'
env_map_gent.cpp:401: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:403: warning: assignment to `unsigned int' from `float'
env_map_gent.cpp:403: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:404: warning: assignment to `unsigned int' from `float'
env_map_gent.cpp:404: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:405: warning: assignment to `unsigned int' from `float'
env_map_gent.cpp:405: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:345: warning: unused variable `float sleft'
env_map_gent.cpp:345: warning: unused variable `float sright'
env_map_gent.cpp:345: warning: unused variable `float tdown'
env_map_gent.cpp:345: warning: unused variable `float tup'
/usr/include/g++/bits/stl_stack.h: At top level:
env_map_gent.cpp:92: warning: `void Lighting(RGBColor&, const Vector&)' defined
but not used
env_map_gent.cpp:121: warning: `float abso(float)' defined but not used
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
halo_system.cpp: In member function `unsigned int HaloSystem::AddHalo(const
char*, const QVector&, const Vector&, const GFXColor&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
float)':
halo_system.cpp:95: warning: unused variable `float engine_length'
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
loc_select.cpp: In static member function `static void
LocationSelect::MouseMoveHandle(KBSTATE, int, int, int, int, int)':
loc_select.cpp:24: warning: array subscript has type `char'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
star.cpp: In constructor `StarVlist::StarVlist(int, float, const std::string&)
':
star.cpp:283: warning: comparison between signed and unsigned integer
expressions
star.cpp: In member function `Stars::Stars(int, float)':
star.cpp:348: warning: unused variable `int curnum'
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
sprite.cpp:35: warning: `float*mview' defined but not used
vdu.cpp: In function `char* GetColorFromSuccess(float)':
vdu.cpp:779: warning: initialization to `unsigned int' from `float'
vdu.cpp:779: warning: argument to `unsigned int' from `float'
vdu.cpp:780: warning: initialization to `unsigned int' from `float'
vdu.cpp:780: warning: argument to `unsigned int' from `float'
vdu.cpp: In function `void UpdateViewstyle(VIEWSTYLE&)':
vdu.cpp:969: warning: enumeration value `CP_VIEWTARGET' not handled in switch
/usr/include/g++/bits/stl_vector.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
warptrail.cpp: In function `Mesh* GetWarpMesh(int, warptrails*)':
warptrail.cpp:93: warning: comparison between signed and unsigned integer
expressions
gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: error: `glXGetProcAddressARB' undeclared (first use this
function)
gl_init.cpp:106: error: (Each undeclared identifier is reported only once for
each function it appears in.)
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[3]: *** [gl_init.o] Error 1

make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Compiling FleetYards... generalcentraldisplay_gtk../src/include/display_gtk.cpp: In function `void AddCats(GtkWidget*, char*,
char*)':
../src/include/display_gtk.cpp:133: warning: unused variable `char*new_text'
../src/include/display_gtk.cpp:134: warning: unused variable `int length'
../src/include/display_gtk.cpp:135: warning: unused variable `GtkWidget*button'
../src/include/display_gtk.cpp: In function `void ClickButton(GtkWidget*,
catagory*)':
../src/include/display_gtk.cpp:160: warning: unused variable `GtkWidget*label'
file
setup... BuildingLinking Done

mkdir: cannot create directory `/root/.vegastrike': File exists
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
mv: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
mv: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
chmod: failed to get attributes of `../vsfinalize': No such file or directory
mv: cannot stat `../vsfinalize': No such file or directory
install: cannot stat `./vsinstall': No such file or directory
install: cannot stat `./vegastrike': No such file or directory
install: cannot stat `./vslauncher': No such file or directory
mkdir: cannot create directory `/usr/local/man/man1': File exists
install: cannot stat `./vegastrike.1': No such file or directory
install: cannot stat `./vslauncher.1': No such file or directory
install: cannot stat `./vsinstall.1': No such file or directory
install: cannot stat `./vssetup.1': No such file or directory
mkdir: cannot create directory `/usr/local': File exists
mkdir: cannot create directory `/usr/local/share': File exists
mkdir: cannot create directory `/usr/local/share/vegastrike': File exists
mv: invalid option -- r
Try `mv --help' for more information.

Any ideas what went wrong. Could it be something to do with the fact I have an nVidia graphics card and I had to compile the NVIDIA kernel module for the upgraded SuSE 8.2 kernel? I know that NVIDIA does some strange things to gl files like moving them and things like that...

Or is it that I n00bishly forgot to install a certain package that I was not aware of even existing? 8) [/b]
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Thanks but...

Post by deepwave »

Thanks alot for the -02 tip. It took a bit of time for my to figure out that one had to go into configure.in and change every -03 to -02.

That definitely cut the time down though... it still seems to cut out when it hits gl.o !!! See:...

launcher/Makefile.am: installing `./depcomp'

configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##

../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
fire.cpp: In member function `void TurretBin::AssignTargets(const
TargetAndRange&, const Matrix&)':
fire.cpp:206: warning: array subscript has type `char'
fire.cpp:207: warning: array subscript has type `char'
fire.cpp:208: warning: array subscript has type `char'
fire.cpp:210: warning: array subscript has type `char'
fire.cpp:211: warning: array subscript has type `char'
fire.cpp: In member function `void Orders::FireAt::PossiblySwitchTarget(bool)':
fire.cpp:403: warning: unused variable `float targetswitchprobability'
hard_coded_scripts.cpp: In constructor `Orders::LoopAround::LoopAround(bool,
int)':
hard_coded_scripts.cpp:151: warning: comparison between signed and unsigned
integer expressions
aggressive.cpp: In member function `bool
Orders::AggressiveAI::ProcessLogicItem(const AIEvents::AIEvresult&)':
aggressive.cpp:176: warning: unused variable `float game_accel'
warpto.cpp: In function `void WarpToP(Unit*, Unit*)':
warpto.cpp:37: warning: unused variable `float insys_jump_cost'
../../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)'
defined but not used
../../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&,
const GFXColor&)' defined but not used
c_alike.yacc: In function `int yyparse()':
c_alike.yacc:132: warning: comparison between signed and unsigned integer
expressions
c_alike.yacc:165: warning: comparison between signed and unsigned integer
expressions
/usr/lib/bison.simple:614: warning: comparison between signed and unsigned
integer expressions
/usr/lib/bison.simple:626: warning: comparison between signed and unsigned
integer expressions
lex.yy.cpp: In function `int yylex()':
lex.yy.cpp:718: warning: label `find_rule' defined but not used
c_alike.lex: At top level:
lex.yy.cpp:1775: warning: `void* yy_flex_realloc(void*, unsigned int)' defined
but not used
lex.yy.cpp:1263: warning: `void yyunput(int, char*)' defined but not used
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
script_call_olist.cpp: In member function `QVector
Mission::call_olist_tovector(missionNode*, int, varInst*)':
script_call_olist.cpp:338: warning: unused variable `olist_t*my_olist'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_call_order.cpp: In member function `varInst*
Mission::call_order(missionNode*, int)':
script_call_order.cpp:95: warning: unused variable `olist_t*pos_olist'
script_call_order.cpp:124: warning: unused variable `olist_t*pos_olist'
script_call_order.cpp:241: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:245: warning: unused variable `olist_t*desa_olist'
script_call_order.cpp:279: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:308: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:340: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:368: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:426: warning: unused variable `olist_t*des_olist'
script_call_order.cpp:515: warning: unused variable `Order*res_order'
script_call_order.cpp:530: warning: unused variable `Order*res_order'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_variables.cpp: In member function `void Mission::doSetVar(missionNode*,
int)':
script_variables.cpp:540: warning: unused variable `bool res'
script_variables.cpp:543: warning: unused variable `double res'
script_variables.cpp:546: warning: unused variable `float res'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_statement.cpp: In member function `void Mission::doWhile(missionNode*,
int)':
script_statement.cpp:145: warning: unused variable `bool res'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_callbacks.cpp: In member function `varInst*
Mission::doCall(missionNode*, int, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
script_callbacks.cpp:190: warning: unused variable `float size'
script_callbacks.cpp: In member function `varInst*
Mission::call_musicPlayList(missionNode*, int)':
script_callbacks.cpp:789: warning: unused variable `int which'
../../../src/cmd/collection.h: At global scope:
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_generic.cpp: In member function `void
Mission::call_unit_toxml(missionNode*, int, varInst*)':
script_generic.cpp:10: warning: unused variable `Flightgroup*fg'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
script_call_unit_generic.cpp: In member function `Unit*
Mission::call_unit_launch(CreateFlightgroup*, int, const std::string&)':
script_call_unit_generic.cpp:1210: warning: unused variable `int ret'
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)'
defined but not used
../../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&,
const GFXColor&)' defined but not used
../../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
In file included from prapid.cpp:68:
garray.h:142:1: warning: "CS_DECLARE_GROWING_ARRAY_REF" redefined
In file included from prapid.cpp:63:
cs_compat.h:80:1: warning: this is the location of the previous definition
unit_generic.cpp: In member function `virtual void
Unit::reactToCollision(Unit*, const QVector&, const Vector&, const QVector&,
const Vector&, float)':
unit_generic.cpp:149: warning: unused variable `float bouncepercent'
unit_generic.cpp: In member function `void Unit::Init()':
unit_generic.cpp:493: warning: assignment to `short int' from `float'
unit_generic.cpp:493: warning: argument to `short int' from `float'
unit_generic.cpp:604: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `bool Unit::AutoPilotTo(Unit*, bool, int)
':
unit_generic.cpp:1799: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:1799: warning: argument to `short unsigned int' from `float'
unit_generic.cpp: In member function `void Unit::RegenShields()':
unit_generic.cpp:2363: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2363: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2365: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2365: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2367: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2367: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2369: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2369: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2376: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2376: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2378: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2378: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2380: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2380: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2382: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2382: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2384: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2384: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2386: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2386: warning: argument to `short unsigned int' from `float'
unit_generic.cpp: In member function `void Unit::DamageRandSys(float, const
Vector&, float, float)':
unit_generic.cpp:2768: warning: assignment to `short int' from `float'
unit_generic.cpp:2768: warning: argument to `short int' from `float'
unit_generic.cpp:2774: warning: assignment to `short int' from `float'
unit_generic.cpp:2774: warning: argument to `short int' from `float'
unit_generic.cpp:2789: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2789: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2798: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp:2799: warning: assignment to `int' from `float'
unit_generic.cpp:2799: warning: argument to `int' from `float'
unit_generic.cpp:2845: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2845: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2847: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2847: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2849: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2849: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2851: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2851: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2856: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2856: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2858: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2858: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2881: warning: assignment to `short int' from `float'
unit_generic.cpp:2881: warning: argument to `short int' from `float'
unit_generic.cpp:2883: warning: assignment to `unsigned char' from `float'
unit_generic.cpp:2883: warning: argument to `unsigned char' from `float'
unit_generic.cpp: In member function `void Unit::leach(float, float, float)':
unit_generic.cpp:2992: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2992: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2993: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2993: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2994: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2994: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2995: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2995: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2998: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2998: warning: argument to `short unsigned int' from `float'
unit_generic.cpp:2999: warning: assignment to `short unsigned int' from `float'
unit_generic.cpp:2999: warning: argument to `short unsigned int' from `float'
unit_generic.cpp: In static member function `static void
WeaponComparator<FORWARD>::ToggleWeaponSet(Unit*, bool)':
unit_generic.cpp:3537: warning: `std::set<WeaponGroup,
WeaponComparator<FORWARD>, std::allocator<WeaponGroup> >::const_iterator' is
implicitly a typename
unit_generic.cpp:3537: warning: implicit typename is deprecated, please see the
documentation for details
unit_generic.cpp:3559: warning: `std::set<WeaponGroup,
WeaponComparator<FORWARD>, std::allocator<WeaponGroup> >::const_iterator' is
implicitly a typename
unit_generic.cpp:3559: warning: implicit typename is deprecated, please see the
documentation for details
unit_generic.cpp: In member function `bool Unit::EndRequestClearance(Unit*)':
unit_generic.cpp:3791: warning: unused variable `int whichdockport'
unit_generic.cpp: In member function `int Unit::ForceDock(Unit*, int)':
unit_generic.cpp:3898: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `int Unit::Dock(Unit*)':
unit_generic.cpp:3944: warning: control reaches end of non-void function
unit_generic.cpp: In function `std::map<VCString, VCString,
std::less<VCString>, std::allocator<std::pair<const VCString, VCString> > >
parseTurretSizes()':
unit_generic.cpp:4240: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `bool Unit::UpgradeMounts(const Unit*,
int, bool, bool, int&, const Unit*, double&)':
unit_generic.cpp:4304: warning: assignment to `short int' from `float'
unit_generic.cpp:4304: warning: argument to `short int' from `float'
unit_generic.cpp:4326: warning: assignment to `int' from `float'
unit_generic.cpp:4326: warning: argument to `int' from `float'
unit_generic.cpp:4333: warning: assignment to `int' from `float'
unit_generic.cpp:4333: warning: argument to `int' from `float'
unit_generic.cpp:4356: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `bool Unit::UpAndDownGrade(const Unit*,
const Unit*, int, int, bool, bool, int, bool, double&, const Unit*, bool)':
unit_generic.cpp:4634: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4634: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4635: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4635: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4636: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4636: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4637: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4637: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4645: warning: assignment to `unsigned char' from `double'
unit_generic.cpp:4645: warning: argument to `unsigned char' from `double'
unit_generic.cpp:4648: warning: assignment to `short int' from `double'
unit_generic.cpp:4648: warning: argument to `short int' from `double'
unit_generic.cpp:4650: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4650: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4684: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4684: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4685: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4685: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4686: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4686: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4687: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4687: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4690: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4690: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4691: warning: assignment to `short unsigned int' from `double
'
unit_generic.cpp:4691: warning: argument to `short unsigned int' from `double'
unit_generic.cpp:4710: warning: assignment to `char' from `double'
unit_generic.cpp:4710: warning: argument to `char' from `double'
unit_generic.cpp:4792: warning: comparison is always true due to limited range
of data type
unit_generic.cpp: In member function `bool Unit::ReduceToTemplate()':
unit_generic.cpp:4860: warning: unused variable `int upfac'
unit_generic.cpp: In member function `float Unit::CargoVolume() const':
unit_generic.cpp:5229: warning: comparison between signed and unsigned integer
expressions
unit_generic.cpp: In member function `void Unit::ImportPartList(const
std::string&, float, float, float, float)':
unit_generic.cpp:5363: warning: assignment to `int' from `float'
unit_generic.cpp:5363: warning: argument to `int' from `float'
unit_generic.cpp:5368: warning: assignment to `int' from `double'
unit_generic.cpp:5368: warning: argument to `int' from `double'
unit_generic.cpp:5385: warning: assignment to `int' from `float'
unit_generic.cpp:5385: warning: argument to `int' from `float'
unit_generic.cpp: In member function `void Unit::Repair()':
unit_generic.cpp:5640: warning: assignment to `short int' from `float'
unit_generic.cpp:5640: warning: argument to `short int' from `float'
unit_const_cache.h: At top level:
unit_generic.cpp:216: warning: `float GetJumpFuelQuantity()' defined but not
used
unit_generic.cpp:1682: warning: `float tempmin(float, float)' defined but not
used
planet_generic.cpp: In function `void beginPlanetElement(void*, const
XML_Char*, const XML_Char**)':
planet_generic.cpp:340: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp: In function `std::string KillQuadZeros(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
unit_xml.cpp:30: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp: In function `std::string
MakeUnitXMLPretty(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, Unit*)':
unit_xml.cpp:66: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp:67: warning: comparison between signed and unsigned integer
expressions
unit_xml.cpp: In function `void pushMesh(Unit::XML*, const char*, float, int,
Flightgroup*, int, double)':
unit_xml.cpp:453: warning: unused variable `float anitime'
unit_xml.cpp: In member function `void Unit::beginElement(const std::string&,
const XMLSupport::AttributeList&)':
unit_xml.cpp:1038: warning: assignment to `short int' from `float'
unit_xml.cpp:1038: warning: argument to `short int' from `float'
unit_xml.cpp: In member function `void Unit::LoadXML(const char*, const char*,
std::string*)':
unit_xml.cpp:1983: warning: unused variable `csRapidCollider*colTree'
unit_functions_generic.cpp: In function `signed char
ComputeAutoGuarantee(Unit*)':
unit_functions_generic.cpp:70: warning: comparison between signed and unsigned
integer expressions
mount.cpp: In member function `bool Mount::PhysicsAlignedFire(const
Transformation&, const Matrix&, const Vector&, Unit*, Unit*, signed char,
float, int)':
mount.cpp:244: warning: enumeration value `UNKNOWN' not handled in switch
alphacurve.cpp: In function `int get_alpha(int, int, int, int, double, double,
int, int)':
alphacurve.cpp:37: warning: initialization to `int' from `double'
alphacurve.cpp:37: warning: argument to `int' from `double'
alphacurve.cpp:41: warning: initialization to `int' from `double'
alphacurve.cpp:41: warning: argument to `int' from `double'
alphacurve.cpp:85: warning: assignment to `int' from `double'
alphacurve.cpp:85: warning: argument to `int' from `double'
alphacurve.cpp:95: warning: assignment to `int' from `double'
alphacurve.cpp:95: warning: argument to `int' from `double'
alphacurve.cpp:105:55: warning: no newline at end of file
unit_collide.cpp:181: warning: `float tmpmax(float, float)' defined but not
used
role_bitmask.cpp: In function `std::vector<std::string,
std::allocator<std::string> > ROLES::readCSV(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
role_bitmask.cpp:44: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp:46: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp: In function `std::vector<std::vector<std::string,
std::allocator<std::string> >, std::allocator<std::vector<std::string,
std::allocator<std::string> > > > ROLES::buildscripts()':
role_bitmask.cpp:73: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp: In function `std::vector<std::vector<char,
std::allocator<char> >, std::allocator<std::vector<char,
std::allocator<char> > > > ROLES::buildroles()':
role_bitmask.cpp:140: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp:124: warning: unused variable `int loc'
role_bitmask.cpp:112: warning: unused variable `int count'
role_bitmask.cpp: In function `unsigned char ROLES::getRole(const std::string&)
':
role_bitmask.cpp:163: warning: unused variable `int temp'
role_bitmask.cpp: In function `unsigned int ROLES::readBitmask(const
std::string&)':
role_bitmask.cpp:173: warning: comparison between signed and unsigned integer
expressions
role_bitmask.cpp:175: warning: comparison between signed and unsigned integer
expressions
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
base_interface.cpp: In destructor `BaseInterface::Room::~Room()':
base_interface.cpp:42: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:46: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `virtual void
BaseInterface::Room::BaseShip::Draw(BaseInterface*)':
base_interface.cpp:74: warning: initialization to `int' from `float'
base_interface.cpp:74: warning: argument to `int' from `float'
base_interface.cpp: In member function `void
BaseInterface::Room::Draw(BaseInterface*)':
base_interface.cpp:98: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `virtual void
BaseInterface::Room::BaseTalk::Draw(BaseInterface*)':
base_interface.cpp:125: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:137: warning: unused variable `
BaseInterface::Room::BaseObj*self'
base_interface.cpp: In member function `int
BaseInterface::Room::MouseOver(BaseInterface*, float, float)':
base_interface.cpp:153: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `void
BaseInterface::Room::Click(BaseInterface*, float, float, int, int)':
base_interface.cpp:293: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:296: warning: initialization to `int' from `float'
base_interface.cpp:296: warning: argument to `int' from `float'
base_interface.cpp:297: warning: initialization to `int' from `float'
base_interface.cpp:297: warning: argument to `int' from `float'
base_interface.cpp: In member function `void BaseInterface::GotoLink(int)':
base_interface.cpp:391: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In destructor `BaseInterface::~BaseInterface()':
base_interface.cpp:422: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In constructor `
BaseInterface::Room::Talk::Talk(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
base_interface.cpp:452: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp:452: warning: comparison between signed and unsigned integer
expressions
base_interface.cpp: In member function `void BaseInterface::Draw()':
base_interface.cpp:707: warning: comparison between signed and unsigned integer
expressions
ai/communication.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
base_init.cpp: In function `boost::python::tuple GetRandomBarMessage()':
base_init.cpp:27: warning: comparison between signed and unsigned integer
expressions
base_init.cpp:27: warning: comparison between signed and unsigned integer
expressions
/usr/include/g++/bits/stl_vector.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
base_util.cpp: In function `BaseInterface::Room* BaseUtil::CheckRoom(int)':
base_util.cpp:8: warning: comparison between signed and unsigned integer
expressions
base_util.cpp: In function `void BaseUtil::EraseLink(int,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
base_util.cpp:132: warning: comparison between signed and unsigned integer
expressions
base_util.cpp: In function `void BaseUtil::EraseObj(int,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >)':
base_util.cpp:144: warning: comparison between signed and unsigned integer
expressions
base.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
basecomputer.cpp: In member function `bool BaseComputer::scrollToItem(Picker*,
const Cargo&, bool, bool)':
basecomputer.cpp:1120: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1142: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `bool BaseComputer::isTransactionOK(const
Cargo&, BaseComputer::TransactionType, int)':
basecomputer.cpp:1507: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `SimplePickerCell*
BaseComputer::createCategoryCell(SimplePickerCells&, const std::string&,
bool)':
basecomputer.cpp:1534: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1558: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `void
BaseComputer::loadListPicker(BaseComputer::TransactionList&, SimplePicker&,
BaseComputer::TransactionType, bool)':
basecomputer.cpp:1590: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `void BaseComputer::loadMasterList(Unit*,
const std::vector<std::string, std::allocator<std::string> >&, const
std::vector<std::string, std::allocator<std::string> >&, bool,
BaseComputer::TransactionList&)':
basecomputer.cpp:1657: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1663: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `int
BaseComputer::maxQuantityForPlayer(const Cargo&, int)':
basecomputer.cpp:1725: warning: assignment to `int' from `float'
basecomputer.cpp:1725: warning: argument to `int' from `float'
basecomputer.cpp:1729: warning: assignment to `int' from `double'
basecomputer.cpp:1729: warning: argument to `int' from `double'
basecomputer.cpp: In member function `void
BaseComputer::loadMissionsMasterList(BaseComputer::TransactionList&)':
basecomputer.cpp:1910: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1911: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1919: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1921: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1935: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `bool BaseComputer::acceptMission(const
EventCommandId&, Control*)':
basecomputer.cpp:1988: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:1996: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `bool matchCargoToWeapon(const std::string&,
const std::string&)':
basecomputer.cpp:2587: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `Cargo CreateCargoForOwnerStarship(Cockpit*, int)
':
basecomputer.cpp:2817: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `Cargo CreateCargoForOwnerStarshipName(Cockpit*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
int&)':
basecomputer.cpp:2837: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In function `void SwapInNewShipName(Cockpit*, const
std::string&, int)':
basecomputer.cpp:2853: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2858: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2861: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2872: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:2875: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `void
BaseComputer::loadShipDealerControls()':
basecomputer.cpp:2894: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp: In member function `bool BaseComputer::showPlayerInfo(const
EventCommandId&, Control*)':
basecomputer.cpp:3070: warning: comparison between signed and unsigned integer
expressions
basecomputer.cpp:3077: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/unit_const_cache.h: At top level:
basecomputer.cpp:229: warning: `std::string& tolower(std::string&)' defined but
not used
briefing.cpp: In member function `void Briefing::SetCloak(int, float)':
briefing.cpp:17: warning: comparison between signed and unsigned integer
expressions
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
unit_interface.cpp: In member function `void
UpgradingInfo::SetMode(UpgradingInfo::BaseMode, UpgradingInfo::SubMode)':
unit_interface.cpp:370: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp:393: warning: enumeration value `NORMAL' not handled in
switch
unit_interface.cpp: In member function `void UpgradingInfo::SetupCargoList()':
unit_interface.cpp:454: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:467: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:516: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:528: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:488: warning: unused variable `bool gottencolor'
unit_interface.cpp:592: warning: enumeration value `NORMAL' not handled in
switch
unit_interface.cpp:592: warning: enumeration value `STOP_MODE' not handled in
switch
unit_interface.cpp: In function `void CargoToMission(const char*, TextArea*,
Unit*)':
unit_interface.cpp:670: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:671: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp: In member function `bool UpgradingInfo::SelectItem(const
char*, int, int)':
unit_interface.cpp:753: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:825: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In function `void SwapInNewShipName(Cockpit*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int)
':
unit_interface.cpp:881: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:900: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp:903: warning: comparison between signed and unsigned integer
expressions
unit_interface.cpp: In member function `void UpgradingInfo::CommitItem(const
char*, int, int)':
unit_interface.cpp:1108: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1115: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1116: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1082: warning: enumeration value `STOP_MODE' not handled in
switch
unit_interface.cpp:1146: warning: enumeration value `BRIEFINGMODE' not handled
in switch
unit_interface.cpp:1146: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1146: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1146: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In member function `void
UpgradingInfo::CompleteTransactionAfterTurretSelect()':
unit_interface.cpp:1182: warning: enumeration value `BUYMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `SELLMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `MISSIONMODE' not handled
in switch
unit_interface.cpp:1182: warning: enumeration value `BRIEFINGMODE' not handled
in switch
unit_interface.cpp:1182: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `SHIPDEALERMODE' not
handled in switch
unit_interface.cpp:1182: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1182: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In member function `void
UpgradingInfo::SelectLastSelected()':
unit_interface.cpp:1195: warning: passing `float' for argument 2 of `void
UpgradingInfo::ProcessMouse(int, int, int, int, int)'
unit_interface.cpp:1195: warning: passing `float' for argument 3 of `void
UpgradingInfo::ProcessMouse(int, int, int, int, int)'
unit_interface.cpp: In member function `void
UpgradingInfo::CompleteTransactionConfirm()':
unit_interface.cpp:1233: warning: unused variable `Cargo*tmp'
unit_interface.cpp:1256: warning: enumeration value `BUYMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `SELLMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `MISSIONMODE' not handled
in switch
unit_interface.cpp:1256: warning: enumeration value `BRIEFINGMODE' not handled
in switch
unit_interface.cpp:1256: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `SHIPDEALERMODE' not
handled in switch
unit_interface.cpp:1256: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1256: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In function `std::string GetNumKills(Unit*)':
unit_interface.cpp:1382: warning: initialization to `int' from `double'
unit_interface.cpp:1382: warning: argument to `int' from `double'
unit_interface.cpp:1384: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1391: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp: In member function `std::vector<CargoColor,
std::allocator<CargoColor> >& UpgradingInfo::MakeMissionsFromSavegame(Unit*)
':
unit_interface.cpp:1456: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1456: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1459: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1462: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1469: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp:1477: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp: In function `Cargo GetCargoForOwnerStarship(Cockpit*, int)
':
unit_interface.cpp:1519: warning: comparison between signed and unsigned
integer expressions
unit_interface.cpp: In member function `std::vector<CargoColor,
std::allocator<CargoColor> >& UpgradingInfo::GetCargoFor(Unit*)':
unit_interface.cpp:1580: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1580: warning: enumeration value `MAXMODE' not handled in
switch
unit_interface.cpp: In member function `std::vector<CargoColor,
std::allocator<CargoColor> >& UpgradingInfo::GetCargoList()':
unit_interface.cpp:1641: warning: enumeration value `NEWSMODE' not handled in
switch
unit_interface.cpp:1641: warning: enumeration value `SAVEMODE' not handled in
switch
unit_interface.cpp:1641: warning: enumeration value `MAXMODE' not handled in
switch
unit_const_cache.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
bolt_server.cpp: In member function `Bolt::Bolt(const weapon_info&, const
Matrix&, const Vector&, Unit*)':
bolt_server.cpp:52: warning: unused variable `bolt_draw*q'
In file included from navgetxmldata.cpp:1:
navgetxmldata.h:23:7: warning: no newline at end of file
navgetxmldata.cpp: In function `std::string
retrievedata(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
navgetxmldata.cpp:151: warning: comparison between signed and unsigned integer
expressions
navgetxmldata.cpp:23: warning: unused variable `int testlength'
navgetxmldata.cpp:211:3: warning: no newline at end of file
In file included from navscreen.cpp:41:
navgetxmldata.h:23:7: warning: no newline at end of file
In file included from navscreen.cpp:43:
navparse.h: In member function `bool
NavigationSystem::ParseFile(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
navparse.h:380: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp: In member function `void NavigationSystem::Setup()':
navscreen.cpp:143: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp: In member function `void NavigationSystem::DrawMission()':
navscreen.cpp:627: warning: initialization to `int' from `double'
navscreen.cpp:627: warning: argument to `int' from `double'
navscreen.cpp:629: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp:638: warning: comparison between signed and unsigned integer
expressions
navscreen.cpp: In member function `void NavigationSystem::DrawShip()':
navscreen.cpp:692: warning: unused variable `float deltay'
navscreen.cpp:697: warning: unused variable `int foundpos'
navscreen.cpp: In member function `void
NavigationSystem::TranslateAndDisplay(QVector&, QVector&, float, float,
float, float, float, float&, float&, float&)':
navscreen.cpp:1483: warning: unused variable `float itemscale'
drawgalaxy.cpp: In function `void Beautify(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::string&, std::string&)
':
drawgalaxy.cpp:50: warning: comparison between signed and unsigned integer
expressions
drawgalaxy.cpp: In member function `QVector
NavigationSystem::SystemIterator::Position()':
drawgalaxy.cpp:226: warning: unused variable `float y'
drawgalaxy.cpp: In member function `void NavigationSystem::DrawGalaxy()':
drawgalaxy.cpp:580: warning: comparison between signed and unsigned integer
expressions
drawgalaxy.cpp:607: warning: comparison between signed and unsigned integer
expressions
drawsystem.cpp: In member function `void NavigationSystem::DrawSystem()':
drawsystem.cpp:264: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/container.h:29: warning: inline function `Unit*
UnitContainer::GetUnit()' used but never defined
sphere_generic.cpp: In function `std::string truncateByPipe(std::string&)':
sphere_generic.cpp:36: warning: comparison between signed and unsigned integer
expressions
sphere_generic.cpp: In member function `void SphereMesh::InitSphere(float, int,
int, const char*, const char*, bool, BLENDFUNC, BLENDFUNC, bool, float,
float, float, float, FILTER, bool)':
sphere_generic.cpp:171: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
jpeg_memory.cpp: In function `void jpeg_decompress(unsigned char*, unsigned
char*, int, int*, int*)':
jpeg_memory.cpp:181: warning: comparison between signed and unsigned integer
expressions
jpeg_memory.cpp: In function `void jpeg_decompress_from_file(unsigned char*,
char*, int, int*, int*)':
jpeg_memory.cpp:214: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp: In member function `void Mesh::Draw(float, const Matrix&, float,
short int, float, unsigned char, bool)':
mesh_gfx.cpp:261: warning: array subscript has type `char'
mesh_gfx.cpp: In member function `virtual void Mesh::ProcessDrawQueue(int, int)
':
mesh_gfx.cpp:627: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp: In member function `void Mesh::CreateLogos(int, Flightgroup*)':
mesh_gfx.cpp:827: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp:829: warning: comparison between signed and unsigned integer
expressions
mesh_gfx.cpp:831: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `virtual Texture* AnimatedTexture::Clone()
':
ani_texture.cpp:93: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `void AnimatedTexture::Destroy()':
ani_texture.cpp:121: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `void AnimatedTexture::Load(char*, int,
int, FILTER, bool)':
ani_texture.cpp:148: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp: In member function `void AnimatedTexture::Load(FILE*, int,
FILTER, bool)':
ani_texture.cpp:183: warning: comparison between signed and unsigned integer
expressions
ani_texture.cpp:194: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
aux_texture.cpp: In member function `virtual void Texture::MakeActive(int)':
aux_texture.cpp:860: warning: unused variable `bool missing'
aux_texture.cpp: In member function `virtual void Texture::MakeActive()':
aux_texture.cpp:870: warning: unused variable `bool missing'
png_texture.cpp: In function `unsigned char* readVSJpeg2(char*, int, int&,
int&, long unsigned int&, long unsigned int&, unsigned char*(*)(int&, int&,
long unsigned int&, long unsigned int&, unsigned char**))':
png_texture.cpp:240: warning: comparison between signed and unsigned integer
expressions
png_texture.cpp: In function `unsigned char* readVSJpeg(FILE*, int&, int&, long
unsigned int&, long unsigned int&, unsigned char*(*)(int&, int&, long
unsigned int&, long unsigned int&, unsigned char**))':
png_texture.cpp:313: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cockpit.cpp: In member function `virtual void GameCockpit::ReceivedTargetInfo()
':
cockpit.cpp:71: warning: comparison between signed and unsigned integer
expressions
cockpit.cpp: In member function `virtual void GameCockpit::DrawBlips(Unit*)':
cockpit.cpp:571: warning: unused variable `Unit::Computer::RADARLIM*radarl'
cockpit.cpp:578: warning: unused variable `float s'
cockpit.cpp:578: warning: unused variable `float t'
cockpit.cpp: In function `void RespawnNow(Cockpit*)':
cockpit.cpp:1068: warning: comparison between signed and unsigned integer
expressions
cockpit.cpp:1070: warning: comparison between signed and unsigned integer
expressions
/usr/include/g++/bits/stl_vector.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
cockpit.cpp:1160: warning: `void FaceTarget(Unit*, const QVector&, Unit*)'
defined but not used
coord_select.cpp: In static member function `static void
CoordinateSelect::MouseMoveHandle(KBSTATE, int, int, int, int, int)':
coord_select.cpp:13: warning: array subscript has type `char'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
env_map_gent.cpp: In function `bool LoadTex(char*, unsigned char (*)[512][3])':
env_map_gent.cpp:297: warning: unused variable `float scaledconstX'
env_map_gent.cpp:298: warning: unused variable `float scaledconstY'
env_map_gent.cpp: In function `void Spherize(CubeCoord (*)[512], CubeCoord
(*)[512], unsigned char*)':
env_map_gent.cpp:399: warning: initialization to `unsigned int' from `float'
env_map_gent.cpp:399: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:400: warning: initialization to `unsigned int' from `float'
env_map_gent.cpp:400: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:401: warning: initialization to `unsigned int' from `float'
env_map_gent.cpp:401: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:403: warning: assignment to `unsigned int' from `float'
env_map_gent.cpp:403: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:404: warning: assignment to `unsigned int' from `float'
env_map_gent.cpp:404: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:405: warning: assignment to `unsigned int' from `float'
env_map_gent.cpp:405: warning: argument to `unsigned int' from `float'
env_map_gent.cpp:345: warning: unused variable `float sleft'
env_map_gent.cpp:345: warning: unused variable `float sright'
env_map_gent.cpp:345: warning: unused variable `float tdown'
env_map_gent.cpp:345: warning: unused variable `float tup'
/usr/include/g++/bits/stl_stack.h: At top level:
env_map_gent.cpp:92: warning: `void Lighting(RGBColor&, const Vector&)' defined
but not used
env_map_gent.cpp:121: warning: `float abso(float)' defined but not used
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
halo_system.cpp: In member function `unsigned int HaloSystem::AddHalo(const
char*, const QVector&, const Vector&, const GFXColor&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >,
float)':
halo_system.cpp:95: warning: unused variable `float engine_length'
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
loc_select.cpp: In static member function `static void
LocationSelect::MouseMoveHandle(KBSTATE, int, int, int, int, int)':
loc_select.cpp:24: warning: array subscript has type `char'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
star.cpp: In constructor `StarVlist::StarVlist(int, float, const std::string&)
':
star.cpp:283: warning: comparison between signed and unsigned integer
expressions
star.cpp: In member function `Stars::Stars(int, float)':
star.cpp:348: warning: unused variable `int curnum'
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
sprite.cpp:35: warning: `float*mview' defined but not used
vdu.cpp: In function `char* GetColorFromSuccess(float)':
vdu.cpp:779: warning: initialization to `unsigned int' from `float'
vdu.cpp:779: warning: argument to `unsigned int' from `float'
vdu.cpp:780: warning: initialization to `unsigned int' from `float'
vdu.cpp:780: warning: argument to `unsigned int' from `float'
vdu.cpp: In function `void UpdateViewstyle(VIEWSTYLE&)':
vdu.cpp:969: warning: enumeration value `CP_VIEWTARGET' not handled in switch
/usr/include/g++/bits/stl_vector.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
warptrail.cpp: In function `Mesh* GetWarpMesh(int, warptrails*)':
warptrail.cpp:93: warning: comparison between signed and unsigned integer
expressions
gl_init.cpp: In function `void init_opengl_extensions()':
gl_init.cpp:106: error: `glXGetProcAddressARB' undeclared (first use this
function)
gl_init.cpp:106: error: (Each undeclared identifier is reported only once for
each function it appears in.)
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
make[3]: *** [gl_init.o] Error 1

make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Compiling FleetYards... generalcentraldisplay_gtk../src/include/display_gtk.cpp: In function `void AddCats(GtkWidget*, char*,
char*)':
../src/include/display_gtk.cpp:133: warning: unused variable `char*new_text'
../src/include/display_gtk.cpp:134: warning: unused variable `int length'
../src/include/display_gtk.cpp:135: warning: unused variable `GtkWidget*button'
../src/include/display_gtk.cpp: In function `void ClickButton(GtkWidget*,
catagory*)':
../src/include/display_gtk.cpp:160: warning: unused variable `GtkWidget*label'
file
setup... BuildingLinking Done

mkdir: cannot create directory `/root/.vegastrike': File exists
mv: cannot stat `../vegastrike/src/vegastrike': No such file or directory
mv: cannot stat `../vegastrike/src/networking/soundserver': No such file or directory
mv: cannot stat `../vegastrike/launcher/vslauncher': No such file or directory
chmod: failed to get attributes of `../vsfinalize': No such file or directory
mv: cannot stat `../vsfinalize': No such file or directory
install: cannot stat `./vsinstall': No such file or directory
install: cannot stat `./vegastrike': No such file or directory
install: cannot stat `./vslauncher': No such file or directory
mkdir: cannot create directory `/usr/local/man/man1': File exists
install: cannot stat `./vegastrike.1': No such file or directory
install: cannot stat `./vslauncher.1': No such file or directory
install: cannot stat `./vsinstall.1': No such file or directory
install: cannot stat `./vssetup.1': No such file or directory
mkdir: cannot create directory `/usr/local': File exists
mkdir: cannot create directory `/usr/local/share': File exists
mkdir: cannot create directory `/usr/local/share/vegastrike': File exists
mv: invalid option -- r
Try `mv --help' for more information.

Any ideas what went wrong. Could it be something to do with the fact I have an nVidia graphics card and I had to compile the NVIDIA kernel module for the upgraded SuSE 8.2 kernel? I know that NVIDIA does some strange things to gl files like moving them and things like that...

Or is it that I n00bishly forgot to install a certain package that I was not aware of even existing? 8) [/b]
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Sorry!!!

Post by deepwave »

I seem to have accidentally exploited a bug with your forums!!!

It seems that if the message is too big or too long to send. Wierd things happen. First time I posted it gave me an error. Sorry I did not catch it...

So I tried a second time, same thing. And when I tired to delete it, it did not.

Sorry, for that accidental "hack"... :oops: :oops: :oops:
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

in src/gldrv/gl_globals.h type

#define glXGetProcAddressARB glXGetProcAddress

some new headers "forget" to define the traditional function

of course this could cause a runtime crash if your library only has the ARB version

then you just have to define it somehow in your glx.h header file (change glXGetProcAddress to glXGetProcAddressARB
what do others think?
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
deepwave
Merchant
Merchant
Posts: 37
Joined: Fri Sep 26, 2003 5:54 pm
Location: Knawis Mouth, Great Helices Nebula

Err... Yeah...

Post by deepwave »

Sorry hellcatv you lost me there...

I did what you said but it only said "undefined reference". By the way in the future should I cut out all "defined but not used" junk in the error message. I guess that stuff is sort of repetitative, eh?


configure: WARNING: GL/glext.h: present but cannot be compiled
configure: WARNING: GL/glext.h: check for missing prerequisite headers?
configure: WARNING: GL/glext.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##

../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
gl_light.cpp: In member function `void GFXLight::SetProperties(LIGHT_TARGET,
const GFXColor&)':
gl_light.cpp:130: warning: enumeration value `EMISSION' not handled in switch
gl_light.cpp: In function `unsigned char GFXLightContextAmbient(const
GFXColor&)':
gl_light.cpp:204: warning: comparison between signed and unsigned integer
expressions
gl_light.cpp: In function `unsigned char GFXGetLightContextAmbient(GFXColor&)':
gl_light.cpp:215: warning: comparison between signed and unsigned integer
expressions
gl_light.cpp: In function `unsigned char GFXCreateLight(int&, const GFXLight&,
bool)':
gl_light.cpp:222: warning: comparison between signed and unsigned integer
expressions
gl_light.cpp:226: warning: comparison between signed and unsigned integer
expressions
gl_light.cpp: In function `unsigned char GFXEnableLight(int)':
gl_light.cpp:248: warning: comparison between signed and unsigned integer
expressions
gl_light.cpp: In function `unsigned char GFXDisableLight(int)':
gl_light.cpp:258: warning: comparison between signed and unsigned integer
expressions
hashtable_3d.h: In member function `void Hashtable3d<T, CTSIZ, CTACCURACY,
CTHUGE>::Clear() [with T = LineCollideStar, CTSIZ = char[20], CTACCURACY =
char[40000], CTHUGE = char[8000]]':
gl_light.cpp:290: instantiated from here
hashtable_3d.h:43: warning: comparison between signed and unsigned integer
expressions
hashtable_3d.h:44: warning: comparison between signed and unsigned integer
expressions
hashtable_3d.h:45: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
gl_matrix.cpp:148: warning: `void InvRotateFloatMatrix(float*, const float*,
const Matrix&)' defined but not used
gl_material.cpp: In function `void GFXSelectMaterial(unsigned int)':
gl_material.cpp:128: warning: comparison between signed and unsigned integer
expressions
gl_misc.cpp: In function `void GFXCircle(float, float, float, float)':
gl_misc.cpp:37: warning: initialization to `int' from `float'
gl_misc.cpp:37: warning: argument to `int' from `float'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
gl_texture.cpp: In function `unsigned char GFXCreateTexture(int, int,
TEXTUREFORMAT, int*, char*, int, FILTER, TEXTURE_TARGET)':
gl_texture.cpp:112: warning: comparison between signed and unsigned integer
expressions
gl_texture.cpp:120: warning: comparison between signed and unsigned integer
expressions
gl_texture.cpp:125: warning: assignment of negative value `-1' to `GLuint'
gl_texture.cpp:125: warning: argument of negative value `-1' to `unsigned int'
gl_texture.cpp: In function `void GFXInitTextureManager()':
gl_texture.cpp:438: warning: comparison between signed and unsigned integer
expressions
gl_texture.cpp: In function `void GFXDestroyAllTextures()':
gl_texture.cpp:451: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
winsys.cpp: In function `void winsys_init(int*, char**, char*, char*)':
winsys.cpp:247: warning: unused variable `int ret'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
python_compile.cpp: In function `void CompileRunPython(const std::string&)':
python_compile.cpp:68: warning: unused variable `bool ndebug_libs'
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
unit_exports.cpp:31:2: warning: no newline at end of file
universe_util_export.cpp:30:7: warning: no newline at end of file
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
eventmanager.cpp: In function `void clearDeleteQueue()':
eventmanager.cpp:82: warning: comparison between signed and unsigned integer
expressions
eventmanager.cpp: In member function `void EventManager::sendInputEvent(const
InputEvent&)':
eventmanager.cpp:149: warning: comparison between signed and unsigned integer
expressions
eventmanager.cpp:142: warning: enumeration value `KEY_DOWN_EVENT' not handled
in switch
eventmanager.cpp:142: warning: enumeration value `KEY_UP_EVENT' not handled in
switch
../../src/cmd/base.h: At top level:
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
groupcontrol.cpp: In destructor `virtual GroupControl::~GroupControl()':
groupcontrol.cpp:213: warning: comparison between signed and unsigned integer
expressions
window.h: At top level:
../../src/gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined
but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
modaldialog.cpp: In function `void showListQuestion(const std::string&, const
std::vector<std::string, std::allocator<std::string> >&,
ModalDialogCallback*, const std::string&)':
modaldialog.cpp:348: warning: comparison between signed and unsigned integer
expressions
modaldialog.cpp: At top level:
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
newbutton.cpp: In member function `virtual void
NewButton::drawCycleBorder(float)':
newbutton.cpp:117: warning: assignment to `int' from `float'
newbutton.cpp:117: warning: argument to `int' from `float'
newbutton.cpp: In member function `virtual bool
NewButton::processMouseDown(const InputEvent&)':
newbutton.cpp:176: warning: comparison between signed and unsigned integer
expressions
newbutton.cpp: In member function `virtual bool NewButton::processMouseUp(const
InputEvent&)':
newbutton.cpp:189: warning: comparison between signed and unsigned integer
expressions
eventmanager.h: At top level:
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
painttext.cpp: In member function `virtual int
PaintText::visibleLineCountStartingWith(int, float) const':
painttext.cpp:172: warning: comparison between signed and unsigned integer
expressions
painttext.cpp: In member function `virtual void PaintText::drawLines(int, int)
const':
painttext.cpp:236: warning: comparison between signed and unsigned integer
expressions
painttext.cpp: In member function `void
PaintText::parseFragmentsWithCharBreak(PaintText::TextLine&, int, int,
float, bool, int*)':
painttext.cpp:497: warning: comparison between signed and unsigned integer
expressions
painttext.cpp: In member function `void
PaintText::parseFragmentsWithWordBreak(PaintText::TextLine&, int, float,
int*)':
painttext.cpp:629: warning: comparison between signed and unsigned integer
expressions
painttext.cpp: In member function `void PaintText::calcLayout()':
painttext.cpp:786: warning: comparison between signed and unsigned integer
expressions
../../src/cmd/collection.h: At global scope:
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
picker.cpp: In member function `virtual void Picker::draw()':
picker.cpp:74: warning: comparison between signed and unsigned integer
expressions
picker.cpp: In member function `PickerCell* Picker::cellForMouse(const Point&)
':
picker.cpp:143: warning: initialization to `const int' from `float'
picker.cpp:143: warning: argument to `int' from `float'
picker.cpp:144: warning: comparison between signed and unsigned integer
expressions
picker.cpp: In member function `virtual void Picker::recalcDisplay()':
picker.cpp:231: warning: initialization to `const int' from `float'
picker.cpp:231: warning: argument to `int' from `float'
picker.cpp: In member function `virtual void Picker::scrollToCell(const
PickerCell*, bool)':
picker.cpp:251: warning: comparison between signed and unsigned integer
expressions
picker.cpp:253: warning: initialization to `const int' from `float'
picker.cpp:253: warning: argument to `int' from `float'
picker.cpp: In member function `virtual bool Picker::processMouseDown(const
InputEvent&)':
picker.cpp:294: warning: comparison between signed and unsigned integer
expressions
picker.cpp: In member function `virtual bool Picker::processMouseUp(const
InputEvent&)':
picker.cpp:311: warning: comparison between signed and unsigned integer
expressions
picker.h: In constructor `Picker::Picker()':
picker.h:195: warning: `Picker::m_textMargins' will be initialized after
picker.h:191: warning: `PickerCell*Picker::m_cellPressed'
picker.h:193: warning: `Picker::m_highlightedCell' will be initialized after
picker.h:192: warning: `PickerCell*Picker::m_selectedCell'
picker.h:198: warning: `Picker::m_scroller' will be initialized after
picker.h:197: warning: `int Picker::m_scrollPosition'
picker.h:197: warning: `Picker::m_scrollPosition' will be initialized after
picker.h:194: warning: `bool Picker::m_needRecalcDisplay'
../../src/gui/groupcontrol.h: At top level:
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
slider.cpp: In member function `void Slider::setMaxMin(int, int)':
slider.cpp:70: warning: initialization to `const int' from `double'
slider.cpp:70: warning: argument to `int' from `double'
slider.cpp: In member function `virtual bool Slider::processMouseDown(const
InputEvent&)':
slider.cpp:186: warning: comparison between signed and unsigned integer
expressions
slider.cpp: In member function `virtual bool Slider::processMouseDrag(const
InputEvent&)':
slider.cpp:238: warning: initialization to `const int' from `double'
slider.cpp:238: warning: argument to `int' from `double'
slider.cpp:244: warning: initialization to `const int' from `double'
slider.cpp:244: warning: argument to `int' from `double'
slider.cpp: In member function `virtual bool Slider::processMouseUp(const
InputEvent&)':
slider.cpp:256: warning: comparison between signed and unsigned integer
expressions
eventmanager.h: At top level:
../../src/gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const
GFXColor&)' defined but not used
staticdisplay.h: In constructor `StaticDisplay::StaticDisplay()':
staticdisplay.h:97: warning: `StaticDisplay::m_scroller' will be initialized
after
staticdisplay.h:95: warning: `int StaticDisplay::m_scrollPosition'
staticdisplay.h:96: warning: `StaticDisplay::m_layoutVersion' will be
initialized after
staticdisplay.h:94: warning: `Size StaticDisplay::m_textMargins'
../../src/gui/groupcontrol.h: At top level:
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
window.h: In constructor `Window::Window()':
window.h:122: warning: `Window::m_deleteOnClose' will be initialized after
window.h:121: warning: `GroupControl*Window::m_controls'
groupcontrol.h: At top level:
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not used
guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)'
defined but not used
vsnet_sockettcp.cpp: In member function `virtual void
VsnetTCPSocket::lower_selected()':
vsnet_sockettcp.cpp:321: warning: comparison between signed and unsigned
integer expressions
accountsxml.cpp: In function `void accountXML::beginElement(void*, const
XML_Char*, const XML_Char**)':
accountsxml.cpp:161: warning: enumeration value `NAME' not handled in switch
accountsxml.cpp:161: warning: enumeration value `PASSWORD' not handled in
switch
accountsxml.cpp:161: warning: enumeration value `SERIAL' not handled in switch
accountsxml.cpp:161: warning: enumeration value `SERVERIP' not handled in
switch
accountsxml.cpp:161: warning: enumeration value `SERVERPORT' not handled in
switch
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
netserver_acct.cpp: In member function `void NetServer::save()':
netserver_acct.cpp:122: warning: comparison between signed and unsigned integer
expressions
netserver_acct.cpp:142: warning: unused variable `bool found'
netserver_acct.cpp:104: warning: unused variable `Unit*un'
netserver.cpp: In member function `void
NetServer::processPacket(boost::shared_ptr<Client>, unsigned char, const
AddressIP&, Packet&)':
netserver.cpp:759: warning: unused variable `Unit*jumpun'
netserver.cpp:733: warning: unused variable `unsigned char*server_hash'
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
../../src/cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
soundserver.cpp: In function `Mix_Music* PlayMusic(const char*, Mix_Music*)':
soundserver.cpp:133: warning: initialization to `int' from `float'
soundserver.cpp:133: warning: argument to `int' from `float'
soundserver.cpp: In function `int main(int, char**)':
soundserver.cpp:308: warning: initialization to `int' from `float'
soundserver.cpp:308: warning: argument to `int' from `float'
star_system_xml.cpp: In member function `void StarSystem::beginElement(const
std::string&, const XMLSupport::AttributeList&)':
star_system_xml.cpp:577: warning: assignment to `int' from `double'
star_system_xml.cpp:577: warning: argument to `int' from `double'
star_system_xml.cpp:580: warning: assignment to `int' from `double'
star_system_xml.cpp:580: warning: argument to `int' from `double'
star_system_xml.cpp:589: warning: assignment to `int' from `double'
star_system_xml.cpp:589: warning: argument to `int' from `double'
star_system_xml.cpp:592: warning: assignment to `int' from `double'
star_system_xml.cpp:592: warning: argument to `int' from `double'
star_system_xml.cpp:988: warning: unused variable `Unit*object'
universe_generic.cpp: In function `QVector DockToSavedBases(int)':
universe_generic.cpp:63: warning: comparison between signed and unsigned
integer expressions
universe_generic.cpp: In member function `void Universe::Update()':
universe_generic.cpp:300: warning: comparison between signed and unsigned
integer expressions
universe_generic.cpp: In member function `int
Universe::StarSystemIndex(StarSystem*)':
universe_generic.cpp:308: warning: comparison between signed and unsigned
integer expressions
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
galaxy.cpp:166: warning: `float fav(float, float)' defined but not used
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
lin_time.cpp: In function `void UpdateTime()':
lin_time.cpp:177: warning: unused variable `double ftime'
load_mission.cpp: In function `int ReadIntSpace(char*&)':
load_mission.cpp:152: warning: suggest parentheses around assignment used as
truth value
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
in_joystick.cpp: In member function `void JoyStick::GetMouse(float&, float&,
float&, int&)':
in_joystick.cpp:234: warning: unused variable `int savex'
in_joystick.cpp:235: warning: unused variable `int savey'
cmd/collection.h: At global scope:
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
cmd/collection.h:49: warning: inline function `void
UnitCollection::UnitIterator::GetNextValidUnit()' used but never defined
in_handler.cpp:1:1: warning: no newline at end of file
gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not
used
gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)
' defined but not used
gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not
used
gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)
' defined but not used
gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not
used
gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)
' defined but not used
gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not
used
gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)
' defined but not used
gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not
used
gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)
' defined but not used
macosx_math.cpp:30:7: warning: no newline at end of file
main.cpp: In function `void cleanup()':
main.cpp:143: warning: unused variable `int i'
main.cpp: In function `std::vector<std::string, std::allocator<std::string> >
parse_space_string(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
main.cpp:426: warning: comparison between signed and unsigned integer
expressions
vs_globals.h: At top level:
gui/guidefs.h:186: warning: `bool isClear(const GFXColor&)' defined but not
used
gui/guidefs.h:190: warning: `bool equalColors(const GFXColor&, const GFXColor&)
' defined but not used
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x3845): In function `posix_tmpnam':
: the use of `tmpnam_r' is dangerous, better use `mkstemp'
/usr/lib/python2.2/config/libpython2.2.a(posixmodule.o)(.text+0x371f): In function `posix_tempnam':
: the use of `tempnam' is dangerous, better use `mkstemp'

gldrv/libgldrv.a(gl_init.o)(.text+0x288): In function `init_opengl_extensions()':
/home/dorian_p/vegastrike-0.4.1-installer/vegastrike/src/gldrv/gl_init.cpp:105: undefined reference to `glXGetProcAddress'
gldrv/libgldrv.a(gl_init.o)(.text+0x29d):/home/dorian_p/vegastrike-0.4.1-installer/vegastrike/src/gldrv/gl_init.cpp:107: undefined reference to `glXGetProcAddress'
gldrv/libgldrv.a(gl_init.o)(.text+0x2f4):/home/dorian_p/vegastrike-0.4.1-installer/vegastrike/src/gldrv/gl_init.cpp:122: undefined reference to `glXGetProcAddress'
gldrv/libgldrv.a(gl_init.o)(.text+0x309):/home/dorian_p/vegastrike-0.4.1-installer/vegastrike/src/gldrv/gl_init.cpp:123: undefined reference to `glXGetProcAddress'
gldrv/libgldrv.a(gl_init.o)(.text+0x31e):/home/dorian_p/vegastrike-0.4.1-installer/vegastrike/src/gldrv/gl_init.cpp:124: undefined reference to `glXGetProcAddress'
gldrv/libgldrv.a(gl_init.o)(.text+0x333):/home/dorian_p/vegastrike-0.4.1-installer/vegastrike/src/gldrv/gl_init.cpp:125: more undefined references to `glXGetProcAddress' follow

collect2: ld returned 1 exit status
make[3]: *** [vegastrike] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Compiling FleetYards...
Done

I wondering if all of this not one big problem with gl starting with GL/glext.h[/b]
Post Reply