On Mon, Apr 21, 2008 at 11:37:59PM +0200, Rene Engelhard wrote:
> tag 477168 + patch
> thanks
>
> Hi,
>
> Mike Hommey wrote:
> > > xulrunner FTBFSes on ia64 because it cannot find iostream.h which indeed
> > > is obsolete and gone with gcc 4.3.0 AFAIS.
> >
> > What is to be used instead ?
>
> Sorry, I apparently missed one sentence: iostream.
>
> I am not exactly sure either, but I know this (and had that problem in
> OOo, too on other archs when doing the g++-4.3 fixes for it)
>
> $ dpkg -L libstdc++6-4.2-dev | grep iostream
> /usr/include/c++/4.2/backward/iostream.h
> /usr/include/c++/4.2/iostream
> $ dpkg -L libstdc++6-4.3-dev | grep iostream
> /usr/include/c++/4.3/iostream
> $
>
> And given that the default compiler on ia64 is g++ 4.3...
How come iceape didn't fail to build but had a warning instead ? (using
gcc 4.3)
xptcinvoke_ipf64.cpp
c++ -o xptcinvoke_ipf64.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API
-DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=2008031302
-DEXPORT_XPTC_API -I../../../../../../dist/include/xpcom
-I../../../../../../dist/include -I/usr/include/nspr -I./../.. -fPIC
-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
-Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
-Wno-long-long -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2
-fno-strict-aliasing -g -DMOZILLA_CLIENT -include
../../../../../../mozilla-config.h -Wp,-MD,.deps/xptcinvoke_ipf64.pp
xptcinvoke_ipf64.cpp
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from xptcinvoke_ipf64.cpp:43:
/usr/include/c++/4.2/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.
Mike
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]