
28 Jan
2013
28 Jan
'13
7:15 p.m.
gcc is being used; correct? If the problem is that -Wnarrowing should
not be applied globally, then something called a 'pragma' can be used. A
'pragama' will help by telling gcc not to apply a particualar gcc option
onto an included header. On the other hand, I would have hacked the
BOOST source not knowing that PRAGMA itself could fix the problem. That
gets annoying though every time there is a new source tar ball to hack.
Also, https://svn.boost.org/trac/boost/newticket can be used to leave
bug reports to be read by moderators of the source.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wnarrowing "
#include