[Dbus-cxx-users] dbus-cxx fails to build on osx
Status: Beta
Brought to you by:
rvinyard
From: Darrell S. <dr...@nr...> - 2009-07-29 16:27:33
|
I tried to enter a new bug report, but apparently only members of the project may report bugs... dbus-cxx fails to compile on osx because osx does not implement POSIX timers. Apple claims that these timers are an *optional* POSIX extension and that programs should check to see if they are available: http://lists.apple.com/archives/unix-porting/2006/Apr/msg00010.html http://lists.apple.com/archives/unix-porting/2006/Apr/msg00012.html http://lists.apple.com/archives/unix-porting/2009/May/msg00004.html I explored a bit to see what would be the next roadblock and that seems to be gcc/g++ issues: g++ -DHAVE_CONFIG_H -I. -I.. -I../. -I../. -I/opt/local/include/ dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/sigc+ +-2.0 -I/opt/local/lib/sigc++-2.0/include -g -O2 -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c connection.cpp -fno-common -DPIC - o .libs/connection.o In file included from ../dbus-cxx/object.h:14, from connection.h:32, from connection.cpp:20: ../dbus-cxx/interface.h:75: error: default template arguments may not be used in function templates ../dbus-cxx/interface.h:201: error: default template arguments may not be used in function templates In file included from connection.h:32, from connection.cpp:20: so I assume this is some new feature of gcc/g++ which my version (gcc 4.2.1) does not yet support? |