Re: [Dbus-cxx-users] dbus-cxx fails to build on osx
Status: Beta
Brought to you by:
rvinyard
From: Rick L. V. Jr. <rvi...@cs...> - 2009-07-29 18:17:12
|
Darrell Schiebel wrote: > > I tried to enter a new bug report, but apparently only members of the > project may report bugs... You should be able to enter a bug report if you are logged into Sourceforge. I got tired of false bug reports filed by spammers. > 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? > Possible. Most of the development was done on gcc 4.4, but I know it compiles on gcc 4.3 because that's what Fedora 9 uses. > 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? > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. > http://p.sf.net/sfu/bobj-july_______________________________________________ > Dbus-cxx-users mailing list > Dbu...@li... > https://lists.sourceforge.net/lists/listinfo/dbus-cxx-users > |