Actually I spoke too soon. While I managed to successfully build Random.cpp in another project, I'm having terrible difficulty with the modified apachemq-cpp xcode project (still getting things like "::acos not defined" etc. Stupid question I'm sure, but has anyone tried building activemq-cpp inclusive of Random.cpp on Mac OS X? I haven't tried the command line build given that I don't have cpp-unit etc. just yet on this particular machine. I can try this tomorrow built for now I'm wondering if anyone can shed light on what I'm seeing.
Here's a full listing of the error I'm getting: /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:99: error: '::acos' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:116: error: '::asin' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:131: error: '::atan' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:146: error: '::atan2' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:162: error: '::ceil' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:177: error: '::cos' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:192: error: '::cosh' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:207: error: '::exp' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:222: error: '::fabs' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:237: error: '::floor' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:252: error: '::fmod' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:262: error: '::frexp' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:277: error: '::ldexp' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:292: error: '::log' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:307: error: '::log10' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:322: error: '::modf' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:341: error: '::pow' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:363: error: '::sin' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:378: error: '::sinh' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:393: error: '::sqrt' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:408: error: '::tan' has not been declared /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:423: error: '::tanh' has not been declared /Applications/activemq-cpp-trunk/src/main/activemq/util/Random.cpp:87: error: call of overloaded 'log(double&)' is ambiguous /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:295: note: candidates are: float std::log(float) /Developer/SDKs/MacOSX10.4u.sdk/usr/include/c++/4.0.0/cmath:299: note: long double std::log(long double) Cheers, -C -- View this message in context: http://www.nabble.com/Random.cpp-and-%22always-search-user-path%22-note-tf4007472s2354.html#a11381369 Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.