building on FreeBSD 10
Waitman Gobble
uzimac at da3m0n8t3r.com
Tue Feb 14 19:02:30 UTC 2012
JINMEI Tatuya <jinmei at isc.org> wrote ..
> At Tue, 14 Feb 2012 00:15:11 -0800 (PST),
> "Waitman Gobble" <uzimac at da3m0n8t3r.com> wrote:
>
> > I have not yet submitted the bug report, I want to feel extremely confident that
> I understand the bug so i'm doing some research. It seems this strategy "removes"
> extraneous warnings from boost :
> >
> >
> > instead of
> >
> > #include <boost/numeric/conversion/cast.hpp>
> >
> > change to
> >
> > #include "hushup/cast.hpp"
> >
> > then put cast.hpp in hushup directory:
> >
> > #ifdef __GNUC__
> > #pragma GCC system_header
> > #endif
>
> What kind of magic does this pragma do? Do you have a reference?
>
> At the moment, I'm personally not so sure if we go for it if the
> problem only happens for a special FreeBSD version of g++. Adding a
> per-compiler pragam for a selected issue may not be harmful itself,
> but it will make the code structure more complicated, and the indirect
> dependency will probably annoy the current and future developers.
>
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.
Hi,
Sure, I totally agree that it should not be changed for a "special build", however according to the handbook the version of GCC has not
changed since FreeBSD 8.0, and I think the future plans will be to go with clang - however it is unclear when this will happen.
I have a production server running CentOS 5.7 (Which is obviously dated, but still widely used in production use) .. gcc on that
machine is what shipped, 4.1, i'll try building on that and see if there are any issues.
--
Waitman Gobble
San Jose California USA
More information about the bind10-users
mailing list