-
Notifications
You must be signed in to change notification settings - Fork 803
MSVC Warning Level 4 Compliance #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for bringing this here. Guess that I was missing the issues part of GitHub in my brain. |
Warning 1 warning C4512: 'cereal::OutputArchivecereal::XMLOutputArchive,0' : assignment operator could not be generated Not sure if this is an enhancement, seems to be more of a bug. meh |
Hi there Wondering if any progress has been had in this direction. An example of this error I was seeing below Warning 11 warning C4512: 'cereal::NameValuePair<Function::ExponentialFunction &>' : assignment operator could not be generated t:\personalsandbox\javen\third party\cereal-1.0.0\include\cereal\details\helpers.hpp and These warnings are found with Warning Level 4, Warning Level 3 they vanish. |
finished the upgrade to 1.1 today. Notice that some additional warnings are appearing at level 4 for me. numerous of these in genericstream Warning 70 warning C4127: conditional expression is constant T:\PersonalSandBox\jAven\Third Party\cerealSerialization\cereal\external\rapidjson\genericstream.h 81 1 level 3 warning Warning 114 warning C4244: '=' : conversion from 'uint32_t' to 'uint8_t', possible loss of data T:\PersonalSandBox\jAven\Third Party\cerealSerialization\cereal\archives\xml.hpp 519 1 |
No progress has been made other than my initial look at this. May have some time this week though. From what I remember there are a lot of warnings that are caused by RapidJSON/RapidXML which I don't really want to fix - I guess for those we'll just use pragmas to ignore them. Most of the other issues looked to be easy changes though. |
Yes Shane. Saw those. Not using json so disabled the included in json On Wednesday, March 18, 2015, Shane Grant notifications@github.com wrote:
|
Give the latest develop a try and let me know how it is, I'll be pushing this out and any other quick fixes into 1.1.1. |
Closing this - if you notice any other warnings feel free to re-open. |
Apparently we don't play well with W4 on MSVC (see https://groups.google.com/forum/#!topic/cerealcpp/OyytjIUp1eM).
The text was updated successfully, but these errors were encountered: