
16 Dec
2009
16 Dec
'09
2:35 a.m.
Thanks for pointing out the issue. Now the compiler crash is gone. I was calling a wrong function (silly me) What I was trying was to reproduce C4180 warning when using phoenix::bind. Here's a small test program to reproduce the warning. namespace pt = boost::property_tree ; pt::ptree tree ; // The following function translates to // tree.put("Temp.Flag", true) ; boost::phoenix::bind (&pt::ptree::put<bool>, tree, string("Temp.Flag"), true) ; what I wanted to know is whether the warning is harmless or not. Can i suppress the warning in compiler flags using /wd4180 without any issues ? Gcc compiles fine without any warnings. Surya