Re: error building vclxbitmap.cxx on xstreamos/illumos
On 01/22/2015 10:35 PM, Richard PALO wrote: Okay, but by observation it does seem to be a rather overloaded term though, missing a prefix or namespace.. at least the one in include/vcl/window.hxx has been changed into a scoped enumeration on master ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: error building vclxbitmap.cxx on xstreamos/illumos
On 01/22/2015 01:45 PM, Gabriele Bulfon wrote: Hi, next error, right in the middle of an enum declaration...: [build CXX] toolkit/source/awt/vclxbitmap.cxx In file included from /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/ctrl.hxx:26:0, from /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/button.hxx:27, from /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/vcl/unx/generic/printer/cupsmgr.cxx:37: /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/window.hxx:245:5: error: expected identifier before '(' token If line 245 of include/vcl/window.hxx reads TRANSPARENT= 12, for you, then most likely you happen to include some definition of a macro named TRANSPARENT. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
error building vclxbitmap.cxx on xstreamos/illumos
Hi, next error, right in the middle of an enum declaration...: [build CXX] toolkit/source/awt/vclxbitmap.cxx In file included from /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/ctrl.hxx:26:0, from /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/button.hxx:27, from /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/vcl/unx/generic/printer/cupsmgr.cxx:37: /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/window.hxx:245:5: error: expected identifier before '(' token /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/window.hxx:245:5: error: expected '}' before '(' token /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/window.hxx:245:5: error: expected unqualified-id before 'unsigned' /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/window.hxx:245:5: error: expected ')' before 'unsigned' /sources/sonicle/xstream-desktop-gate/components/libreoffice/libreoffice/libreoffice-4.4.0.2/include/vcl/window.hxx:255:1: error: expected declaration before '}' token ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: error building vclxbitmap.cxx on xstreamos/illumos
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 22/01/15 19:11, Markus Mohrhard a écrit : Yah, but... shouldn't the enum be in a namespace in the first place? Or are there c-only source files looking for it... That doesn't matter here as it is a define and therefore the preprocessor will replace the string in the definition. We have a number of similar cases for other defines. Regards, Markus Okay, but by observation it does seem to be a rather overloaded term though, missing a prefix or namespace.. richard@omnis:/home/richard/src/libreoffice$ git grep '\TRANSPARENT\[[:space:]]*=' include/vcl/window.hxx:TRANSPARENT= 12, offapi/com/sun/star/awt/InvalidateStyle.idl:const short TRANSPARENT = 16; offapi/type_reference/offapi.idl: const short TRANSPARENT = 16; reportbuilder/java/org/libreoffice/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget.java: private static final String TRANSPARENT = transparent; vcl/source/filter/wmf/winmtf.hxx:TRANSPARENT = 1, wizards/com/sun/star/wizards/ui/ImageList.py:TRANSPARENT = -1 -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUwW0SAAoJECAB22fHtp27S4MH/11QhQ0UAxiQiWj1VNNy+vIv FsURIbpZ4uQWiyTrfETXnsWQRm6hnfU6WMC0Gq0KpdQbnWel71Z4bZfNjzjZoNHW LIKR/tmLY5nx76YYJA9GeLjrMREHEFRI8X5fKRpIN+tM60ejedUwNKBwmhLS4QaQ 2isksKl6qGeH0G6esn9p9ye2d2iBjOVICwm2ornI7uxYYWbp4IHX1IeV/FAon30g LPZ8xya7Pvdw2dj70XiVIyCIa4ZEdXJU7fg/+9Y9WYNS6/qF7AZFaW24ebd49fGa GiA0icOoYP+6Wg3EGyhJ+Jp2FMk+z0yT3YgmpUlGOsQZebe3Tli7EO6C+b2YROA= =IfD1 -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: error building vclxbitmap.cxx on xstreamos/illumos
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 22/01/15 15:20, Stephan Bergmann a écrit : If line 245 of include/vcl/window.hxx reads TRANSPARENT= 12, for you, then most likely you happen to include some definition of a macro named TRANSPARENT. ___ on SunOS: $ grep TRANSPARENT /usr/include/sys/stream.h #define TRANSPARENT (unsigned int)(-1) -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUwS9dAAoJECAB22fHtp27me4H/j2akRFE9XW1V76jGnNd0RRX f5nQnVtLqd/yruPaoRyADaaD8fzlKfhYA05pQ0n64WoAV+P2wQba7UIbiZGyLHL9 6yzx7thG8v8cNgkVFXssWPJFnKCHKFvvVofPtJiz2RfNN1UicnszQZTAxvkicISP Fw5IJfGfyShof16o6sGIg8v+a/lv7h2lxcUfq0wf7aC0yMIBJ/ilFdBgsCo0EzKM OIdaLyfnDIkZqlunEDHdBDenbXfHC2g7DAaIMN63S80s3RKxEmADnkNe9NenlJS5 2fjFfheUuKjJIghShtaVyRCnKIEZW2iE6JqBUShpcgocCyBcsgjst2JB/ta5NW0= =kETx -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: error building vclxbitmap.cxx on xstreamos/illumos
Hey, On Thu, Jan 22, 2015 at 6:53 PM, Richard PALO rich...@netbsd.org wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 22/01/15 18:35, Gabriele Bulfon a écrit : yes, I added a patch to add this just before the enum, and it goes on : #ifdef TRANSPARENT # undef TRANSPARENT #endif going on ;) thanks! Yah, but... shouldn't the enum be in a namespace in the first place? Or are there c-only source files looking for it... That doesn't matter here as it is a define and therefore the preprocessor will replace the string in the definition. We have a number of similar cases for other defines. Regards, Markus -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUwTkGAAoJECAB22fHtp27QIwH/1/3twfLCAURyxgBgzE5059Y zjO7mjwYevxrWASI1/jNwKcniwef/8xazacIapz8EccvZVbYnc5/94Dkl0ej2cus caiXYh3oslDF6VY1IAU15RLqFXe++UfaIgeLILw4LXOpu+Pumvc/hlh3HtMOa0nq vx0HoIo3HNotFkogs3DyX3F8hwdR0nFzMOTmJQs18yCsIduWNr1Kiid/o2R+3Ryj 25GIF4llzWQkziD+4neBccIwDJr7gk8oqMpVFEDTzXZKycBtSbyHTzDEdlJfJ2aC uHi/5Fu4M6sb8gCkdluCaLWkS2VHD6AGhDpfkX0jGADSDMmSMye4k//5DyE2t8U= =vm0l -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: error building vclxbitmap.cxx on xstreamos/illumos
yes, I added a patch to add this just before the enum, and it goes on : #ifdef TRANSPARENT # undef TRANSPARENT #endif going on ;) thanks! -- Da: Richard PALO A: Stephan Bergmann libreoffice@lists.freedesktop.org Data: 22 gennaio 2015 18.12.00 CET Oggetto: Re: error building vclxbitmap.cxx on xstreamos/illumos -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 22/01/15 15:20, Stephan Bergmann a écrit : If line 245 of include/vcl/window.hxx reads TRANSPARENT= 12, for you, then most likely you happen to include some definition of a macro named TRANSPARENT. ___ on SunOS: $ grep TRANSPARENT /usr/include/sys/stream.h #define TRANSPARENT (unsigned int)(-1) -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUwS9dAAoJECAB22fHtp27me4H/j2akRFE9XW1V76jGnNd0RRX f5nQnVtLqd/yruPaoRyADaaD8fzlKfhYA05pQ0n64WoAV+P2wQba7UIbiZGyLHL9 6yzx7thG8v8cNgkVFXssWPJFnKCHKFvvVofPtJiz2RfNN1UicnszQZTAxvkicISP Fw5IJfGfyShof16o6sGIg8v+a/lv7h2lxcUfq0wf7aC0yMIBJ/ilFdBgsCo0EzKM OIdaLyfnDIkZqlunEDHdBDenbXfHC2g7DAaIMN63S80s3RKxEmADnkNe9NenlJS5 2fjFfheUuKjJIghShtaVyRCnKIEZW2iE6JqBUShpcgocCyBcsgjst2JB/ta5NW0= =kETx -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: error building vclxbitmap.cxx on xstreamos/illumos
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Le 22/01/15 18:35, Gabriele Bulfon a écrit : yes, I added a patch to add this just before the enum, and it goes on : #ifdef TRANSPARENT # undef TRANSPARENT #endif going on ;) thanks! Yah, but... shouldn't the enum be in a namespace in the first place? Or are there c-only source files looking for it... -BEGIN PGP SIGNATURE- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJUwTkGAAoJECAB22fHtp27QIwH/1/3twfLCAURyxgBgzE5059Y zjO7mjwYevxrWASI1/jNwKcniwef/8xazacIapz8EccvZVbYnc5/94Dkl0ej2cus caiXYh3oslDF6VY1IAU15RLqFXe++UfaIgeLILw4LXOpu+Pumvc/hlh3HtMOa0nq vx0HoIo3HNotFkogs3DyX3F8hwdR0nFzMOTmJQs18yCsIduWNr1Kiid/o2R+3Ryj 25GIF4llzWQkziD+4neBccIwDJr7gk8oqMpVFEDTzXZKycBtSbyHTzDEdlJfJ2aC uHi/5Fu4M6sb8gCkdluCaLWkS2VHD6AGhDpfkX0jGADSDMmSMye4k//5DyE2t8U= =vm0l -END PGP SIGNATURE- ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice