Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3662: Define _SVID_SOURCE and _POSIX_SOURCE for Comeau
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-24 02:47:46
#3662: Define _SVID_SOURCE and _POSIX_SOURCE for Comeau
------------------------------------------+---------------------------------
Reporter: mloskot <mateusz@â¦> | Owner: rogeeff
Type: Patches | Status: new
Milestone: Boost 1.42.0 | Component: test
Version: Boost Development Trunk | Severity: Problem
Keywords: como |
------------------------------------------+---------------------------------
Comment(by mloskot <mateusz@â¦>):
Gennadiy,
GI found another workaround which is simpler and seems to solve number of
other issues related to C99 and POSIX. It is define of _ GNU_SOURCE in
Jamfile:
{{{
<toolset>como-linux:<define>_GNU_SOURCE=1
}}}
Quick test shows that it enables C99 features like even snprintf and
vsnprintf as well as POSIX features like time functions or signals.
I've just discovered this define while trying to enable signal.h
definitions, but I'm going to consult it with Comeau team, so in case
you'd be up to, please do not apply these patches here neither the patch I
added today ago for #3558 . I'm going to confirm all these and run more
tests. Sorry for making noise in the tickets, but I think it may be
relevant to have some steps documented. Thanks for patience!
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3662#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC