Hi guys,

I haven't paid close attention to this thread, but on OS X 10.8 I'm getting 
compiler
errors with r13253 (see below).

Including <algorithm> in a sandbox obviously works, so there must be something 
going on
with the other header files that are included before it.

(This is with clang++ 4.1 and ffmpeg-1.0rev2 from MacPorts.)

Cheers,
/ulrich

<code>
[ 94%] Building CXX object
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.cpp.o
cd /Users/uli/Projects/osg/OpenSceneGraph/build/src/osgPlugins/ffmpeg && 
/usr/bin/clang++
  -Dosgdb_ffmpeg_EXPORTS -DUSE_SWSCALE -mmacosx-version-min=10.8
-fvisibility-inlines-hidden -arch x86_64 -fPIC
-I/Users/uli/Projects/osg/OpenSceneGraph/include
-I/Users/uli/Projects/osg/OpenSceneGraph/build/include -I/opt/local/include
-I/opt/local/include/libavformat -I/opt/local/include/libavdevice
-I/opt/local/include/libavcodec -I/opt/local/include/libavutil
-I/opt/local/include/libswscale    -o 
CMakeFiles/osgdb_ffmpeg.dir/FFmpegClocks.cpp.o -c
/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp
In file included from
/Users/uli/Projects/osg/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:5:
In file included from /usr/include/c++/4.2.1/algorithm:64:
In file included from /usr/include/c++/4.2.1/bits/stl_algobase.h:70:
In file included from /usr/include/c++/4.2.1/iosfwd:48:
In file included from /usr/include/c++/4.2.1/bits/postypes.h:45:
In file included from /usr/include/c++/4.2.1/cwchar:51:
/usr/include/c++/4.2.1/ctime:65:11: error: no member named 'clock_t' in the 
global namespace
  using ::clock_t;
        ~~^
/usr/include/c++/4.2.1/ctime:67:11: error: no member named 'tm' in the global 
namespace
  using ::tm;
        ~~^
/usr/include/c++/4.2.1/ctime:69:11: error: no member named 'clock' in the 
global namespace
  using ::clock;
        ~~^
/usr/include/c++/4.2.1/ctime:70:11: error: no member named 'difftime' in the 
global namespace
  using ::difftime;
        ~~^
/usr/include/c++/4.2.1/ctime:71:11: error: no member named 'mktime' in the 
global namespace
  using ::mktime;
        ~~^
/usr/include/c++/4.2.1/ctime:72:11: error: no member named 'time' in the global 
namespace
  using ::time;
        ~~^
/usr/include/c++/4.2.1/ctime:73:11: error: no member named 'asctime' in the 
global namespace
  using ::asctime;
        ~~^
/usr/include/c++/4.2.1/ctime:74:11: error: no member named 'ctime' in the 
global namespace
  using ::ctime;
        ~~^
/usr/include/c++/4.2.1/ctime:75:11: error: no member named 'gmtime' in the 
global namespace
  using ::gmtime;
        ~~^
/usr/include/c++/4.2.1/ctime:76:11: error: no member named 'localtime' in the 
global namespace
  using ::localtime;
        ~~^
/usr/include/c++/4.2.1/ctime:77:11: error: no member named 'strftime' in the 
global namespace
  using ::strftime;
        ~~^
11 errors generated.
</code>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to