Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le 23/01/15 10:01, Gabriele Bulfon a écrit :
Hi,

going on building, I found a couple of vcl sources using "alloca", requiring an include on 
solaris/illumos.
So I had to patch both toolkit/source/awt/vclxgraphics.cxx and toolkit/source/awt/vclxfont.cxx to 
add this:

#ifdef __sun__
#include <alloca.h>
#endif

and now it goes on ;)

Gabriele.


==========================
richard@omnis:/home/richard/src/libreoffice$ git grep  '<alloca.h>'
include/sal/alloca.h:#include <alloca.h>

If you look there you see a guard for solaris... 

Therefore, perhaps consider simply including <sal/alloca.h>
and submit a patch if not already in master.

Hopefully there are not too many of these left...


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUwhu4AAoJECAB22fHtp27wrAH/1efW9CF4RLXdw/HdDuENzj5
spgnZ7nzCdBhojiFDHlPYW0CRfjgrX7BKcNTRiFGQWGgQeXfAscGtepl5+Xr4kLa
v35uKh3YSStVOTCaXMEoxhrA4/WF1XBzcwAv9xhGveWNerw+4n4rMLBUkmWgCZmw
8KrDTUQAsAYq+nKUmNxlIb5vmIRfUli1imzg/M7SuRKoNxhQj9WPIA+6fKS7fRdM
O+rkC7mBc084GfKdAQPnDnmE7SmTvhi6hMAOvZsxAYcuJsY4vGzl4WpOifNhIXon
OoGCD4xxkz7saCtGedB4A0UijBDpBoDRbugeMg7UIhcMDGbU1fqI0VSVzpkZa7U=
=PzG3
-----END PGP SIGNATURE-----

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.