Date: Mon, 02 Jun 2014 08:25:27 +0000 From: no-reply-bugzilla-daemon@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 180413] [build] [patch] Compilation failure with _DONT_USE_CTYPE_INLINE_ defined Message-ID: <bug-180413-8-9eveylYQs3@http.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-180413-8@http.bugs.freebsd.org/bugzilla/> References: <bug-180413-8@http.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
http://bugs.freebsd.org/bugzilla/show_bug.cgi?id=180413 David Chisnall <theraven@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |theraven@FreeBSD.org --- Comment #1 from David Chisnall <theraven@FreeBSD.org> --- I am not sure what the bug is here. We do not guarantee forward compatibility, only backward compatibility. Code compiled on 8.3 should run on 9.1, but not the converse. In particular, in 9.x we added a (POSIX2008-compilant) per-thread locale and explicit locales. For efficiency, various ctype.h functions are inlines. When compiled on 8.x, these will always refer to the global locale. When compiled with 9.x, they will refer to the thread-local locale if one is set or the global locale if not. If you want to target 8.x, then you should use the headers from 8.x (ideally, we'd add visibility attributes to all of the headers to allow you to target older versions, but we have not done this for any other system headers and so there should be no expectation that this will work in the general case). -- 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-180413-8-9eveylYQs3>