Date: Wed, 6 Sep 2017 04:04:52 +0800 From: Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org> To: Mathieu Arnold <mat@freebsd.org> Cc: Craig Leres <leres@ee.lbl.gov>, Ian Lepore <ian@freebsd.org>, Antoine Brodin <antoine@freebsd.org>, "svn-ports-head@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all@freebsd.org" <svn-ports-all@freebsd.org>, "ports-committers@freebsd.org" <ports-committers@freebsd.org> Subject: Re: svn commit: r449138 - in head: cad/freecad devel/libkolab graphics/qgis security/shibboleth2-sp sysutils/passwordsafe textproc/xerces-c3 Message-ID: <CAMHz58RWmjM4b=N5-GUkH7%2BLYU5M%2BqufZaPnjFuEhYGS8uyT3g@mail.gmail.com> In-Reply-To: <104e18ae-f0f5-a1f8-e0e4-c2aab582b1c3@FreeBSD.org> References: <201709021423.v82ENcsI036241@repo.freebsd.org> <CAALwa8=YspdFEiq8s-GRf2XH=hyvh3RpA8Gzd2bH_SgeXfun0w@mail.gmail.com> <e1289401-d920-a753-f1a9-8042dc314eaf@ee.lbl.gov> <1504560120.1337.3.camel@freebsd.org> <24a21e8c-21eb-9241-d6b3-3259cd554ca4@ee.lbl.gov> <104e18ae-f0f5-a1f8-e0e4-c2aab582b1c3@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Sep 5, 2017 at 3:02 PM, Mathieu Arnold <mat@freebsd.org> wrote: > Le 05/09/2017 =C3=A0 01:18, Craig Leres a =C3=A9crit : > > On 09/04/17 14:22, Ian Lepore wrote: > >> I ran into this at $work, I think when we first switched from gcc to > >> clang for our app builds. I worked around it by adding > >> > >> CFLAGS+=3D -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS > >> > >> Basically, defining those symbols before #including stdint.h is what > >> made SIZE_TYPE (and a few others) visible to a c++ compile. > > > > Good suggestion. Defining __STDC_LIMIT_MACROS before the first include > > in src/xercesc/util/Base64.cpp allows it to compile. > > > > I'm not sure if this is helpful but attached is a patch to the port > > Makefile that adds -D__STDC_LIMIT_MACROS to DEFS in src/Makefile.in > > which seems to do the trick. > > It was, I just committed it :-) > > Thanks! Regards, sunpoet > -- > Mathieu Arnold > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAMHz58RWmjM4b=N5-GUkH7%2BLYU5M%2BqufZaPnjFuEhYGS8uyT3g>