Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jan 2017 21:17:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216609] devel/py-ice: fails to build with libc++ 4.0
Message-ID:  <bug-216609-13-DRWhY6fO3V@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216609-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216609-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216609

--- Comment #18 from Michael Gmelin <grembo@FreeBSD.org> ---
This is the reason why this worked using --std=3Dc++11:

>From /usr/include/sys/cdefs.h
...
/* C++11 exposes a load of C99 stuff */
#if defined(__cplusplus) && __cplusplus >=3D 201103L
#define __LONG_LONG_SUPPORTED
#ifndef __STDC_LIMIT_MACROS
#define __STDC_LIMIT_MACROS
#endif
#ifndef __STDC_CONSTANT_MACROS
#define __STDC_CONSTANT_MACROS
#endif
#endif
...

Therefore, instead of using your patch, I changed the platform detection
mechanism in IceUtil/Config.h to only use __WORDSIZE if C++11 or newer is u=
sed
and fall-back to other detection mechanism in case it isn't. This should gi=
ve
users of the library a better experience (otherwise every custom project us=
ing
the library would have to define __STDC_LIMIT_MACROS on build to get consis=
tent
results).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216609-13-DRWhY6fO3V>