SVG plots, utility, Spirit and C4127 in debug

I've run a tiny demo program using Jake Voytko's GSoC SVG plot code. In debug (but NOT in release) I get lots of warnings like: C:\Program Files\Microsoft Visual Studio 8\VC\include\xutility(2938) : warning C4172: returning address of local variable or temporary I:\boost_1_34_1\boost/spirit/utility/impl/chset/range_run.ipp(70) : see reference to function template instantiation 'const _Ty &std::max<CharT>(const _Ty &,const _Ty &)' being compiled with [ _Ty=unsigned long, CharT=unsigned long ] Can I safely disable these worrying sounding level 1 warnings? Is this a bug or a (compiler) feature? Paul --- Paul A Bristow Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB +44 1539561830 & SMS, Mobile +44 7714 330204 & SMS pbristow@hetp.u-net.com
participants (1)
-
Paul A Bristow