[AGENT++] Warnings in Agent++ 64-bit MacOS

Xochitl Lunde Xochitl_Lunde at tripplite.com
Thu Jan 28 17:43:42 CET 2010



When compiling Agent++ for 64-bit MacOS, I get a total of 162 warnings
between agent++ and agentX++ libraries.  I am wondering if you think the
warning is a problem?  I have a program that runs using the snmp++, agent+
+, and agentX++ libraries, and so far it hasn't crashed from using the
libraries with this warning.  Should I disable the warning or do something
else?  Thanks for considering.

CompileC build/2009-07-10.build/Release/agent+
+.build/Objects-normal/x86_64/agentpp_config_mib.o code/agent+
+/src/agentpp_config_mib.cpp normal x86_64 c++ com.apple.compilers.gcc.4_2
cd /Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10
setenv LANG en_US.US-ASCII
/Developer/usr/bin/gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe
-Wno-trigraphs -fpascal-strings -fasm-blocks -Os -D_SNMPv3=1 -DHAVE_CRYPT=1
-DAUTO_TOOLS=1 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-mmacosx-version-min=10.5 -gdwarf-2
-iquote /Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/agent++-generated-files.hmap
-I/Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/agent++-own-target-headers.hmap
-I/Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/agent++-all-target-headers.hmap
-iquote /Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/agent++-project-headers.hmap
-F/Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/Release
-I/Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/Release/include
 -Icode/agent++/include -Icode/snmp++/include -Icode/libdes
-I/Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/DerivedSources/x86_64
-I/Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/DerivedSources
-c /Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/code/agent+
+/src/agentpp_config_mib.cpp
-o /Users/xlunde/code/proj/tparty/agentplusplus/2009-07-10/build/2009-07-10.build/Release/agent
++.build/Objects-normal/x86_64/agentpp_config_mib.o

code/agent++/include/agent_pp/List.h: In member function 'void
Array<T>::clear() [with T = Thread]':
code/agent++/include/agent_pp/threads.h:487:   instantiated from here
code/agent++/include/agent_pp/List.h:1089: warning: allocating zero-element
array
code/agent++/include/agent_pp/List.h: In member function 'void
Array<T>::clearAll() [with T = Thread]':
code/agent++/include/agent_pp/List.h:1286:   instantiated from
'Array<T>::~Array() [with T = Thread]'
code/agent++/include/agent_pp/threads.h:486:   instantiated from here
code/agent++/include/agent_pp/List.h:1079: warning: allocating zero-element
array


More information about the AGENTPP mailing list