svn commit: r449138 - in head: cad/freecad devel/libkolab graphics/qgis security/shibboleth2-sp sysutils/passwordsafe textproc/xerces-c3

Sunpoet Po-Chuan Hsieh sunpoet at freebsd.org
Tue Sep 5 20:05:35 UTC 2017


On Tue, Sep 5, 2017 at 3:02 PM, Mathieu Arnold <mat at freebsd.org> wrote:

> Le 05/09/2017 à 01:18, Craig Leres a écrit :
> > 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+= -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
>
>


More information about the svn-ports-all mailing list