Does anyone know whether this problem building the PLplot c++  
bindings is actually a problem with g++ 4.0.1 being more picky than  
4.0.0? Or has something else gone wrong?

Thanks,
-Hazen

> Initial Comment:
> I've run into a build error under Mac OS X 10.4.8 (both Intel and  
> PPC):
>
> Making all in c++
> if /bin/sh ../../libtool --tag=CXX --mode=compile g++ - 
> DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../include  - 
> I../../include -I../../libltdl   -g -O2 -MT plstream.lo -MD -MP -MF  
> ".deps/plstream.Tpo" -c -o plstream.lo plstream.cc; \
> then mv -f ".deps/plstream.Tpo" ".deps/plstream.Plo"; else rm -f  
> ".deps/plstream.Tpo"; exit 1; fi
> mkdir .libs
>  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../ 
> include -I../../include -I../../libltdl -g -O2 -MT plstream.lo -MD - 
> MP -MF .deps/plstream.Tpo -c plstream.cc  -fno-common -DPIC - 
> o .libs/plstream.o
> plstream.cc: In member function 'virtual void cxx_pltr2::xform 
> (PLFLT, PLFLT, PLFLT&, PLFLT&) const':
> plstream.cc:101: error: 'cerr' was not declared in this scope
> make[3]: *** [plstream.lo] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Using
>
> g++ --version
> powerpc-apple-darwin8-g++-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc.  
> build 5367)
> Copyright (C) 2005 Free Software Foundation, Inc.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to