Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2084: Boost trunk will not build on a NetBSD machine.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-25 18:15:35
#2084: Boost trunk will not build on a NetBSD machine.
--------------------------------------+-------------------------------------
Reporter: brook_at_[hidden] | Owner: johnmaddock
Type: Bugs | Status: assigned
Milestone: Boost 1.36.0 | Component: config
Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords: NetBSD installation
--------------------------------------+-------------------------------------
Comment(by brook_at_[hidden]):
I have added a new patch that works at least on a NetBSD/i386 system, but
should work on others as well. The value of __NetBSD__ is simply a
boolean flag and is 1 for any NetBSD system. Thus, it cannot be used to
detect the version of NetBSD. In this case, the issue is not about the
version of NetBSD, but about the version of gcc. As far as I can tell
from the gnu website, gcc 2.95.3 (which is the earliest one they describe)
has wide character support, so I have chosen that as the condition. That
version was imported into NetBSD many years ago, so it probably doesn't
matter in practice that the conditional is more specific than just
__NetBSD__.
More importantly, the boolean expression in the original patch was
mistaken and this one adds a critical macro definition that unfortunately
is not provided by the NetBSD version of gcc but is required to provide a
std::swprintf declaration (required by Boost).
I believe this to be ready to commit, together with ticket:2029.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2084#comment:3> 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:49:58 UTC