Apache OpenOffice (AOO) Bugzilla – Issue 52377
-D_USE_NAMESPACE and -D_USE_NAMESPACE=1
Last modified: 2005-07-28 16:07:52 UTC
Hi, this is typical compile command like: Making: ../../../unxlngi6.pro/slo/sddetect.obj /home/oo/BuildDir/bin/ccache /disk2/OpenOffice.org/GCC341/bin/g++ -Wreturn-type -fmessage-length=0 -c -I. -I/home/oo/BuildDir/ooo_SRC680_m121_src/solver/680/unxlngi6.pro/inc/offuh -I../inc -I../../../inc -I../../../unx/inc -I../../../unxlngi6.pro/inc -I. -I/home/oo/BuildDir/ooo_SRC680_m121_src/solver/680/unxlngi6.pro/inc/stl -I/home/oo/BuildDir/ooo_SRC680_m121_src/solver/680/unxlngi6.pro/inc/external -I/home/oo/BuildDir/ooo_SRC680_m121_src/solver/680/unxlngi6.pro/inc -I/home/oo/BuildDir/ooo_SRC680_m121_src/solenv/unxlngi6/inc -I/home/oo/BuildDir/ooo_SRC680_m121_src/solenv/inc -I/home/oo/BuildDir/ooo_SRC680_m121_src/res -I/home/oo/BuildDir/ooo_SRC680_m121_src/solver/680/unxlngi6.pro/inc/stl -I/home/oo/BuildDir/ooo_SRC680_m121_src/solenv/inc/Xp31 -I/usr/lib/SunJava2/include -I/usr/lib/SunJava2/include/linux -I/usr/lib/SunJava2/include/native_threads/include -I/usr/X11R6/include -I. -I../../../res -I. -Os -fno-strict-aliasing -Wuninitialized -fvisibility=hidden -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g -fexceptions -fno-enforce-eh-specs -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DGXX_INCLUDE_PATH=/disk2/OpenOffice.org/GCC341/lib/gcc/i686-pc-linux-gnu/3.4.1/../../../../include/c++/3.4.1 -DCVER=C341 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680 -DSD_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -DMULTITHREAD -o ../../../unxlngi6.pro/slo/sddetect.o /home/oo/BuildDir/ooo_SRC680_m121_src/sd/source/ui/unoidl/sddetect.cxx There are both -D_USE_NAMESPACE and -D_USE_NAMESPACE=1. Why? Shouldn't we remove this from settings.mk completely?
*** Issue 52538 has been marked as a duplicate of this issue. ***
i did a bit research around "_USE_NAMESPACE": it's obsolete anyway but removing it would require about 150 files to be touched (mostly svx, vos and binfilter) -> this is OOo later (#i52551#) the duplicate define can be resolved by removing either of the additions. i would suggest to keep the define in "settings.mk" and remove the others to avoid inconsistencies between different platforms. i will do this if there are no objections...
missed to set target...
It is not urgent at all and #i52551# will solve it -> I propose to mark this issues as duplicate of the new issue. If you agree, please close this one :-) The only effect of this is filling build logs. *** This issue has been marked as a duplicate of 52551 ***
ok :-)