certik / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

MS Visual Studio 2012 Warning, forcing value to bool, in nodetests #236

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build yaml-cpp in MS Visual Studio 2012

What is the expected output? What do you see instead?
I expect no warnings when building yaml-cpp.  Instead, I get:
3>------ Build started: Project: run-tests, Configuration: Debug Win32 ------
...
3>..\..\test\new-api\nodetests.cpp(311): warning C4800: 
'YAML::detail::unspecified_bool_type' : forcing value to bool 'true' or 'false' 
(performance warning)

What version of the product are you using? On what operating system?
Version 0.5.1 on Windows 7, 32 bit build.

Please provide any additional information below.

Original issue reported on code.google.com by rbeas...@simquest.com on 29 Jan 2014 at 10:11

GoogleCodeExporter commented 9 years ago

Original comment by jbe...@gmail.com on 29 Jan 2014 at 10:57

GoogleCodeExporter commented 9 years ago
Suppressed, r1485cc3b2dc323ae877191443d8a49ef0d76c4c2.

This warning sooo isn't useful :)

Original comment by jbe...@gmail.com on 24 Mar 2014 at 5:36