Anders,
I have the following compilation error using the latest version from SVN:
...
c++ -Wstrict-aliasing -Wall -Werror -fno-rtti -fstrict-aliasing
-fomit-frame-pointer -fpeephole -O3 -DNDEBUG -D__STDC_FORMAT_MACROS
-I../include/ -O2 -W -Wformat=2 -Wswitch -Wshadow -Wwrite-strings
-Wuninitialized -Wall -pipe -mtune=core2 -march=core2
-fomit-frame-pointer -ffast-math -msse2 -msse -mmmx -mfpmath=sse
-D_FORTIFY_SOURCE=2 -Wpointer-arith -fstack-protector -Wstack-protector
-Wextra -Wcast-align -Wcast-qual -Wdisabled-optimization -Wendif-labels
-Wfloat-equal -Wformat-nonliteral -Winline -Wpointer-arith -Wundef
-D_GLIBCXX_PARALLEL -fopenmp -c -o GXemul.o GXemul.cc
cc1plus: warnings being treated as errors
../include/refcount_ptr.h: In member function ‘void GXemul::InitUI()’:
../include/refcount_ptr.h:141: error: inlining failed in call to
‘refcount_ptr<T>::~refcount_ptr() [with T = UI]’: --param
inline-unit-growth limit reached
GXemul.cc:548: error: called from here
It goes away without the -Werror, but I thought you'd like to know about it.
Best,
-Nigel
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325
nj...@ba... http://www.bandsman.co.uk
|