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
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx:287: error: expected `)' before string
constant
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx:287: error: expected primary-expression
before ')' token
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx:287: error: expected `)' before string
constant
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx:287: error: expected `)' before ';'
token
..../build/libreoffice-3.2.99.2/sfx2/source/doc/objmisc.cxx:287: error: expected `)' before ';'
token
The line is
AddLog( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX "Resetting Error." ) ) );
I didn't find a way to make this work (adding commas and parentheses).
So, back to square one: I wonder why OSL_LOG_PREFIX is working for
anyone else -- I'm using gcc-4.1.3/amd64 after all, that's not such an
unusual combination, is it? :)
To what is it expanded for your compiler, and what compiler is it?
Thanks,
Thomas
Context
- [Libreoffice] update on OSL_LOG_PREFIX macro issue · Thomas Klausner
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.