Hi--

There may be an issue with autoconf/configure mechanism not testing for warning 
flags before assuming they exist:

/bin/sh ./libtool --silent --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I.  
-I./../.. -I./.. -I./../../ -I./llvm/include -I./llvm/include 
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_DEBUG -D_GNU_SOURCE 
-I/usr/local/include   -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W 
-Wno-unused-parameter -Wwrite-strings -Wno-missing-field-initializers 
-Wno-variadic-macros -O2 -fno-strict-aliasing -pipe -march=pentium -march=i486 
-c -o libclamavcxx_la-bytecode2llvm.lo `test -f 'bytecode2llvm.cpp' || echo 
'./'`bytecode2llvm.cpp
cc1plus: error: unrecognized command line option 
"-Wno-missing-field-initializers"
cc1plus: error: unrecognized command line option "-Wno-variadic-macros"
[ ... ]

...these are coming from:

libclamav/c++/Makefile.am:LLVM_CXXFLAGS=-Woverloaded-virtual -pedantic 
-Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings 
-Wno-missing-field-initializers -Wno-variadic-macros
libclamav/c++/Makefile.in:LLVM_CXXFLAGS = -Woverloaded-virtual -pedantic 
-Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings 
-Wno-missing-field-initializers -Wno-variadic-macros

% c++ --version
gcc (GCC) 3.4.6 [FreeBSD] 20060305
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards,
-- 
-Chuck

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to