building on FreeBSD 10

JINMEI Tatuya jinmei at isc.org
Tue Feb 14 18:49:50 UTC 2012


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.



More information about the bind10-users mailing list