Build warnings on Mac OS X 10.4.11

0 views
Skip to first unread message

Jay Hannah

unread,
Aug 17, 2008, 2:57:13 AM8/17/08
to chemc...@googlegroups.com
Just FYI. Thanks,

j

$ svn info
URL: http://mathbio.unomaha.edu/svn/chemchains/cpp/branches/CC1_0-rc1

$ make
g++ -Wall -g -c ChemChain.cpp
g++ -Wall -g -c Simulation.cpp
g++ -Wall -g -c NodeList.cpp
g++ -Wall -g -c Node.cpp
g++ -Wall -g -c lib/StringUtils.cpp
g++ -Wall -g -c lib/Matrix.cpp
g++ -Wall -g -c Analysis.cpp
g++ -Wall -g -c exts/Patterns/Patterns.cpp
g++ -Wall -g -c exts/FileConverter/GNode.cpp
exts/FileConverter/GNode.cpp: In member function 'bool
GNode::table_init(const int&)':
exts/FileConverter/GNode.cpp:33: warning: format '%d' expects type
'int', but argument 2 has type 'long unsigned int'
exts/FileConverter/GNode.cpp:43: warning: format '%d' expects type
'int', but argument 2 has type 'long unsigned int'
g++ -Wall -g -c exts/FileConverter/Generator.cpp
g++ -Wall -g ChemChain.o Simulation.o NodeList.o Node.o
StringUtils.o Matrix.o Analysis.o Patterns.o GNode.o Generator.o -o
ChemChains

$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5250.obj~20/src/configure --
disable-checking -enable-werror --prefix=/usr --mandir=/share/man --
enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg]
[^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --
build=powerpc-apple-darwin8 --with-arch=pentium-m --with-
tune=prescott --program-prefix= --host=i686-apple-darwin8 --
target=i686-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5250)

Tomas Helikar

unread,
Aug 19, 2008, 5:56:44 PM8/19/08
to chemc...@googlegroups.com
Thanks for the catch, I just opened a ticket for it.

Tom
Reply all
Reply to author
Forward
0 new messages