[ scummvm-Bugs-769434 ] BeOS compilation

SourceForge.net noreply at sourceforge.net
Fri Jul 11 04:25:12 CEST 2003


Bugs item #769434, was opened at 2003-07-10 21:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=769434&group_id=37116

Category: Unknown Crash/Other
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Gelatt (kreeblah)
Assigned to: Nobody/Anonymous (nobody)
Summary: BeOS compilation

Initial Comment:
When attempting to compile the current CVS tree in BeOS, I 
receive the following errors:

$ make
cp backends/sdl/build.rules build.rules
mkdir -p common/.deps
c++ -Wp,-MMD,"common/.deps/engine.d2" -g -O -Wall -pedantic -
Wpointer-arith -Wcast-qual -Wcast-align -Wconversion -Wshadow 
-Wstrict-prototypes -Wuninitialized -Wimplicit -Wno-long-long 
-Wno-multichar -Wno-unknown-pragmas -Wno-reorder -Wwrite-
strings -Wredundant-decls -Wdisabled-optimization -fcheck-new 
-Wundef -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-
virtual -Wfloat-equal  -DUNIX -I. -Icommon `sdl-config --
cflags` -c common/engine.cpp -o common/engine.o
cc1plus: Invalid option `-Wdisabled-optimization'
cc1plus: Invalid option `-Wfloat-equal'
In file included from /boot/home/ScummVMCVS/1007032113/scummvm
/common/stdafx.h:105,
                 from /boot/home/ScummVMCVS/1007032113/scummvm
/common/engine.cpp:21:
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:68: warning: redundant 
redeclaration of `vfprintf(FILE *, const char *, char *)' in 
same scope
/boot/develop/headers/posix/gnu_stdio.h:42: warning: previous 
declaration of `vfprintf(FILE *, const char *, char *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:69: warning: redundant 
redeclaration of `vprintf(const char *, char *)' in same scope
/boot/develop/headers/posix/gnu_stdio.h:47: warning: previous 
declaration of `vprintf(const char *, char *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:79: warning: redundant 
redeclaration of `getchar()' in same scope
/boot/develop/headers/posix/gnu_stdio.h:64: warning: previous 
declaration of `getchar()'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:80: warning: redundant 
redeclaration of `getc(FILE *)' in same scope
/boot/develop/headers/posix/gnu_stdio.h:58: warning: previous 
declaration of `getc(FILE *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:82: warning: redundant 
redeclaration of `putchar(int)' in same scope
/boot/develop/headers/posix/gnu_stdio.h:81: warning: previous 
declaration of `putchar(int)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:83: warning: redundant 
redeclaration of `putc(int, FILE *)' in same scope
/boot/develop/headers/posix/gnu_stdio.h:76: warning: previous 
declaration of `putc(int, FILE *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:90: warning: redundant 
redeclaration of `fputc(int, FILE *)' in same scope
/boot/develop/headers/posix/gnu_stdio.h:75: warning: previous 
declaration of `fputc(int, FILE *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:102: warning: redundant 
redeclaration of `fsetpos(FILE *, const fpos_t *)' in same 
scope
/boot/develop/headers/posix/gnu_stdio.h:101: warning: previous 
declaration of `fsetpos(FILE *, const fpos_t *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:125: warning: redundant 
redeclaration of `feof(FILE *)' in same scope
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:116: warning: previous declaration 
of `feof(FILE *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:126: warning: redundant 
redeclaration of `ferror(FILE *)' in same scope
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:117: warning: previous declaration 
of `ferror(FILE *)'
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:127: warning: redundant 
redeclaration of `ungetc(int, FILE *)' in same scope
/boot/develop/tools/gnupro/bin/../lib/gcc-lib/i586-beos/2.9-
beos-000224/include/stdio.h:93: warning: previous declaration 
of `ungetc(int, FILE *)'
make: *** [common/engine.o] Error 1
$                                                                                

My compiler version is 2.9-beos-000224 (I believe it's based 
on the 2.95.3 source; at any rate, it's the most recent 
working compiler for the OS).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=769434&group_id=37116




More information about the Scummvm-tracker mailing list