[porting-dev] Compiling Error in PPC with gcc-3.2
Kevin B. Hendricks
kevin.hendricks@sympatico.ca
Tue Aug 6 08:13:00 GMT 2002
Hi Jan, Franz, and Andreas
This should have been fixed in gcc 3.1.1 final and in 3.2. Perhaps this
did not make it into 3.2 for some reason?
Franz, Andreas: I thought Andreas's patch that added throw() to the
set_new_handler was okayed for gcc 3.1.1 final and gcc 3.2? Is it going
to be in gcc 3.2 final?
http://gcc.gnu.org/ml/gcc-patches/2002-07/msg00619.html
Thanks,
Kevin
On August 6, 2002 10:55, Jan-Hendrik Palic wrote:
> Hi ..
> Hi Kevin :)
>
> I started to build build OpenOffice.org with gcc-3.2, since the
> gcc-maintainers of Debian announced, that they are plan to switch to
> gcc-3.2 as default compiler ....
>
> I got this ...
>
> g++-3.2 -fsigned-char -fmessage-length=0 -c -I. -I. -I../inc -I../../inc
> -I../../unx/inc -I../../unxlngppc.pro/inc -I.
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc/stl
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc/external
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solver/641/unxlngppc.pro/inc
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solenv/unxlngppc/inc
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solenv/inc
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/res -I/usr/include
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/debi
>an/local/stlport-home/stlport
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/debi
>an/local/stlport-home/include/stlport
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/debi
>an/local/stlport-home/include/stlport
> -I/home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/buil
>d-tree/oo_1.0.1_src/solenv/inc/Xp31 -I/usr/lib/j2se/1.3/include
> -I/usr/lib/j2se/1.3/include/linux
> -I/usr/lib/j2se/1.3/include/native_threads/include -I/usr/X11R6/include
> -I/usr/lib/gcc-lib/powerpc-linux/3.2/include -I/usr/include -I.
> -I../../res -I. -O2 -fno-schedule-insns -fno-strict-aliasing
> -fno-schedule-insns2 -fsigned-char -pipe -fno-for-scope -fpermissive
> -fno-rtti -fexceptions -fno-enforce-eh-specs -fPIC -DLINUX -DUNX
> -DVCL -DGCC -DC300 -DPOWERPC -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2
> -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1
> -DSTLPORT_VERSION=400 -DPOWERPC -DPPC -D__DMAKE -DUNIX -DCPPU_ENV=gcc3
> -DSUPD=641 -DBUILD=7663 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOPTIMIZE
> -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC641 -DMULTITHREAD -w -o
> ../../unxlngppc.pro/obj/memmgr.o
> /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/build-
>tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx
> /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/build-
>tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx: In function `void (*
> std::set_new_handler(void (*)()))()':
> /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/build-
>tree/oo_1.0.1_src/tools/source/memmgr/memmgr.cxx:126: declaration of
> `void (* std::set_new_handler(void (*)()))()' throws different
> exceptions /usr/include/c++/3.2/new:65: than previous declaration `void
> (* std::set_new_handler(void (*)()) throw ())()'
> dmake: Error code 1, while making '../../unxlngppc.pro/obj/memmgr.obj'
> ---* TG_SLO.MK *---
>
> ERROR: Error 65280 occurred while making
> /home/palic/Files/Projekte/OpenOffice/debian/openoffice.org-1.0.1/build-
>tree/oo_1.0.1_src/tools/source/memmgr dmake: Error code 1, while making
> 'build_all'
>
>
> Any hints
>
> Regards
> Jan
More information about the Gcc
mailing list