[brlcad-tracker] [ brlcad-Bugs-2984176 ] make warning/error sphmap.c: In function 'spm_init'
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: SourceForge.net <no...@so...> - 2010-06-23 03:33:30
|
Bugs item #2984176, was opened at 2010-04-08 22:23 Message generated for change (Comment added) made by brlcad You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=2984176&group_id=105292 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Compilation Group: None Status: Closed Resolution: Fixed Priority: 7 Private: No Submitted By: Arnold Scelsi (scelsi) Assigned to: Sean Morrison (brlcad) Summary: make warning/error sphmap.c: In function 'spm_init' Initial Comment: Version: brlcad-7.16.6 Compiler: >>:~/weg/brlcad-7.16.6> gcc -v Using built-in specs. Target: x86_64-suse-linux Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.4 --enable-ssp --disable-libssp --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --program-suffix=-4.4 --enable-linux-futex --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux Thread model: posix gcc version 4.4.1 [gcc-4_4-branch revision 150839] (SUSE Linux) >>:./configure >>:make [...] /tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pedantic -W -Wall -Werror -Wno-long-long -pipe -fno-strict-aliasing -fno-common -fexceptions -g3 -gstabs+ -c -o scale.lo scale.c /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pedantic -W -Wall -Werror -Wno-long-long -pipe -fno-strict-aliasing -fno-common -fexceptions -g3 -gstabs+ -c -o sphmap.lo sphmap.c cc1: warnings being treated as errors sphmap.c: In function 'spm_init': sphmap.c:68: error: call to function 'spm_free' without a real prototype ../../include/spm.h:61: note: 'spm_free' was declared here sphmap.c:73: error: call to function 'spm_free' without a real prototype ../../include/spm.h:61: note: 'spm_free' was declared here sphmap.c:89: error: call to function 'spm_free' without a real prototype ../../include/spm.h:61: note: 'spm_free' was declared here make[2]: *** [sphmap.lo] Fehler 1 make[2]: Leaving directory `/home/weg/brlcad-7.16.6/src/libbn' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/home/weg/brlcad-7.16.6/src' make: *** [all-recursive] Fehler 1 ---------------------------------------------------------------------- >Comment By: Sean Morrison (brlcad) Date: 2010-06-23 03:33 Message: The compilation warnings/errors you reported should be fixed. Please feel free to reverify a trunk compilation for any new issues. Thanks! ---------------------------------------------------------------------- Comment By: Arnold Scelsi (scelsi) Date: 2010-04-09 21:36 Message: just checked out SVN version and got some new ones ;) : #1 make[2]: Entering directory `/home/weg/blrcadsvn/brlcad/src/libbu' [...] /bin/sh ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -DPREFIX=\"/usr/brlcad\" -I../../src/other/tcl/generic -I../../src/other/tcl/unix -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pedantic -W -Wall -Werror -Wno-long-long -pipe -fno-strict-aliasing -fno-common -fexceptions -gstabs3 -D_FORTIFY_SOURCE=2 -MT cmd.lo -MD -MP -MF .deps/cmd.Tpo -c -o cmd.lo cmd.c cc1: warnings being treated as errors cmd.c: In function ‘bu_register_cmds’: cmd.c:75: error: ‘ctp’ is used uninitialized in this function #2 make[2]: Entering directory `/home/weg/blrcadsvn/brlcad/src/libfb' /bin/sh ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pedantic -W -Wall -Werror -Wno-long-long -DIF_REMOTE -DIF_AB -DIF_X -DIF_TK -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -gstabs3 -D_FORTIFY_SOURCE=2 -MT libfb_la-asize.lo -MD -MP -MF .deps/libfb_la-asize.Tpo -c -o libfb_la-asize.lo `test -f 'asize.c' || echo './'`asize.c mv -f .deps/libfb_la-asize.Tpo .deps/libfb_la-asize.Plo /bin/sh ../../libtool --silent --tag=CC --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pedantic -W -Wall -Werror -Wno-long-long -DIF_REMOTE -DIF_AB -DIF_X -DIF_TK -I../../src/other/tk/generic -I../../src/other/tk/unix -I../../src/other/tk/win -I../../src/other/tcl/generic -I../../src/other/tcl/unix -pipe -fno-strict-aliasing -fno-common -fexceptions -gstabs3 -D_FORTIFY_SOURCE=2 -MT libfb_la-fb_generic.lo -MD -MP -MF .deps/libfb_la-fb_generic.Tpo -c -o libfb_la-fb_generic.lo `test -f 'fb_generic.c' || echo './'`fb_generic.c cc1: warnings being treated as errors fb_generic.c: In function ‘fb_close_existing’: fb_generic.c:248: error: call to function ‘X24_close_existing’ without a real prototype ../../include/fb.h:134: note: ‘X24_close_existing’ was declared here ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-04-09 17:36 Message: The second termio.c warning/error was a new report. Fixed in SVN r38412. ---------------------------------------------------------------------- Comment By: Sean Morrison (brlcad) Date: 2010-04-09 17:32 Message: The issue with our spm.h header providing full prototypes was fixed in February, but there hasn't been a release yet that included the change. The upcoming 7.16.8 release should have the fix. Thanks for the report! Feel free to update to the latest SVN sources and see if there are others as your version of the compiler is a bit newer than what we've been testing with. ---------------------------------------------------------------------- Comment By: Arnold Scelsi (scelsi) Date: 2010-04-08 22:59 Message: Another one: make[2]: Entering directory `/home/weg/brlcad-7.16.6/src/libtermio' /bin/sh ../../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/local/include -DBRLCADBUILD=1 -I../../include -I../../src/other/openNURBS -pedantic -W -Wall -Werror -Wno-long-long -pipe -fno-strict-aliasing -fno-common -fexceptions -g3 -gstabs+ -c -o termio.lo termio.c cc1: warnings being treated as errors termio.c: In function 'save_Tty': termio.c:393: error: call to function 'copy_Tio' without a real prototype termio.c:125: note: 'copy_Tio' was declared here ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=640802&aid=2984176&group_id=105292 |