compiling svn-Trunk on opensuse kernel 2.6.37 KDE 4.5.5 gives an error:
g++ -o support/dbus/controlclient.o -c -O2 -m64 -fPIC -mmmx -m3dnow -msse -mfpmath=sse -msse2 -fomit-frame-pointer -ffast-math -funroll-loops -pthread -DNDEBUG -DDBUS_HAS_THREADS_INIT_DEFAULT -DDBUS_API_SUBJECT_TO_CHANGE -I. -Isrc -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/dbus-c++-1 -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include support/dbus/controlclient.cpp
In file included from support/dbus/controlclient.cpp:24:0:
support/dbus/controlclient.h:37:56: error: expected class-name before ‘,’ token
scons: *** [support/dbus/controlclient.o] Error 1
scons: building terminated because of errors.
I can't see why ???
I've checked out actual svn-Trunk, cd to the target dir and omitted
scons PREFIX=/usr
as user.
There where two warnings during compilation the whole package:
g++ -o src/bebob/focusrite/focusrite_saffirepro.os -c -O2 -m64 -fPIC -mmmx -m3dnow -msse -mfpmath=sse -msse2 -fomit-frame-pointer -ffast-math -funroll-loops -pthread -fPIC -DNDEBUG -DENABLE_BEBOB -DENABLE_FIREWORKS -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include src/bebob/focusrite/focusrite_saffirepro.cpp
src/bebob/focusrite/focusrite_saffirepro.cpp: In member function ‘virtual std::string BeBoB::Focusrite::SaffireProDeviceStandaloneEnum::getEnumLabel(int)’:
src/bebob/focusrite/focusrite_saffirepro.cpp:1163:16: warning: converting ‘false’ to pointer type for argument 1 of ‘std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]’
and
g++ -o src/libutil/PosixThread.os -c -O2 -m64 -fPIC -mmmx -m3dnow -msse -mfpmath=sse -msse2 -fomit-frame-pointer -ffast-math -funroll-loops -pthread -fPIC -DNDEBUG -DENABLE_BEBOB -DENABLE_FIREWORKS -DENABLE_OXFORD -DENABLE_MOTU -DENABLE_DICE -DENABLE_GENERICAVC -I. -Isrc -I/usr/include/libxml++-2.6 -I/usr/lib64/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib64/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib64/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include src/libutil/PosixThread.cpp
src/libutil/PosixThread.cpp: In member function ‘virtual int Util::PosixThread::Stop()’:
src/libutil/PosixThread.cpp:199:19: warning: converting to non-pointer type ‘pthread_t’ from NULL
I've no idea, where to edit something, because it looks like a side effect.