On Thu, 2010-10-21 at 16:08 +0200, Thomas Klausner wrote:
Hi again,
I've patched the OSL_LOG_PREFIX macro (see diff in previous mail) but
now the compilation falls over in 
Entering ..../build/libreoffice-3.2.99.2/sfx2/source/doc
Compiling: sfx2/source/doc/objmisc.cxx
g++  -fmessage-length=0 -c -O1 -DENABLE_LAYOUT=0 -DENABLE_LAYOUT_EXPERIMENTAL=0  
-I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/X11R7/include -DSYSTEM_LIBXML 
-I/usr/pkg/include/libxml2   -I. -I../../unxbsdx3.pro/inc/doc -I../inc -I../../inc/pch 
-I../../inc -I../../unx/inc -I../../unxbsdx3.pro/inc -I. 
-I..../build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/stl 
-I..../build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/external 
-I..../build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc 
-I..../build/libreoffice-3.2.99.2/solenv/unxbsdx3/inc 
-I..../build/libreoffice-3.2.99.2/solenv/inc -I..../build/libreoffice-3.2.99.2/res 
-I..../build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/stl 
-I..../build/libreoffice-3.2.99.2/solenv/inc/Xp31 -I/usr/pkg/java/openjdk7/include 
-I/usr/pkg/java/openjdk7/include/netbsd -I/usr/pkg/java/openjdk7/include/native_threads/include 
-I/usr/X11R7/include  -I..../build/libreoffice-3.2.99.2/solver/330/unxbsdx3.pro/inc/offuh -I. 
-I../../!
 res
  -I. -pipe   -Wno-ctor-dtor-privacy -I/usr/pkg/include/db4 -I/usr/pkg/include 
-I/usr/X11R7/include  -fpic -DNETBSD -DUNX -DVCL -DGCC -DC341 -DX86_64 -DX86_64 -pthread 
-D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -D__DMAKE -DUNIX 
-DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/g++ -DSUPD=330 -DPRODUCT -DNDEBUG 
-DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSFX2_DLLIMPLEMENTATION 
-DSHAREDLIB -D_DLL_   -fexceptions -fno-enforce-eh-specs -DEXCEPTIONS_ON  -o 
../../unxbsdx3.pro/slo/objmisc.o ..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx: In member function 'void 
SfxObjectShell::ResetError()':
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx:287: error: expected 
primary-expression before '(' token
Find out what this is exactly expanding to, e.g.
cd sfx2/source/doc
dmake
copy and paste the g++ line and add -E to it to just do preprocessing
and convert -o .../something.o to /tmp/dump.ii 
and have a look at the /tmp/dump.ii and pull out whatever that LOG foo
it ending up as
C.
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.