Re: [xmlio-discuss] compiling on OSX 10.5?
Brought to you by:
achimgaedke,
pipenb
From: Achim G. <Ach...@ph...> - 2008-04-17 08:36:26
|
Hi Gordon! It's long long ago, that I've written that code. Unfortunately, the standard template library is not well defined. So I tried to program the code as ANSI/ISO compatible code according to Nicolai Josuttis "c++ Standard Library" (German, 1st corrected edition, 1997). There are two options: * Use an old c++ compiler (g++ 2.x) (well - not a real option) * Follow the istructions of the warining at the top of the error messages. I will ask my colleague (apple user), what he does in case of STL problems... Yours, Achim Gordon Robertson wrote: > I am getting errors when I try to make xmlio-1.0.0 on OSX 10.5. The > system is using: > i686-apple-darwin9-g++-4.0.1 > > Can anyone help me resolve this? Thank you for your help. > > G > -- > Gordon Robertson > Canada's Michael Smith Genome Sciences Centre > Vancouver BC Canada > > > ... > Making all in basic > c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O2 -c array_test.cpp > In file included from /usr/include/c++/4.0.0/backward/strstream:51, > from ../../include/xmlio/XMLIO_Document.h:14, > from array_test.cpp:2: > /usr/include/c++/4.0.0/backward/backward_warning.h:32:2: warning: > #warning This file includes at least one deprecated or antiquated > header. Please consider using one of the 32 headers found in section > 17.4.1.2 of the C++ standard. Examples include substituting the <X> > header for the <X.h> header for C++ includes, or <iostream> instead of > the deprecated header <iostream.h>. To disable this warning use > -Wno-deprecated. |