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


On 23.01.2015 10:01, Gabriele Bulfon wrote:
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 ;)

calling alloca() requires some platform dependent headers so we have the
wrapper <sal/alloca.h> that will include these; this one must be
included everywhere alloca() is used to avoid adding lots of #ifdefs
everywhere.

commit 91567c26f436ccce0fb60ad6a9671f046a4a68e7 should fix that on
master, backport for 4.4 is at https://gerrit.libreoffice.org/14125



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.