{"action":"created","issue":{"url":"https://api.github.com/repos/nlohmann/json/issues/64","labels_url":"https://api.github.com/repos/nlohmann/json/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/nlohmann/json/issues/64/comments","events_url":"https://api.github.com/repos/nlohmann/json/issues/64/events","html_url":"https://github.com/nlohmann/json/issues/64","id":72137834,"number":64,"title":"Compilation results in tons of warnings","user":{"login":"JeffAbrahamson","id":1220683,"avatar_url":"https://avatars.githubusercontent.com/u/1220683?v=3","gravatar_id":"","url":"https://api.github.com/users/JeffAbrahamson","html_url":"https://github.com/JeffAbrahamson","followers_url":"https://api.github.com/users/JeffAbrahamson/followers","following_url":"https://api.github.com/users/JeffAbrahamson/following{/other_user}","gists_url":"https://api.github.com/users/JeffAbrahamson/gists{/gist_id}","starred_url":"https://api.github.com/users/JeffAbrahamson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JeffAbrahamson/subscriptions","organizations_url":"https://api.github.com/users/JeffAbrahamson/orgs","repos_url":"https://api.github.com/users/JeffAbrahamson/repos","events_url":"https://api.github.com/users/JeffAbrahamson/events{/privacy}","received_events_url":"https://api.github.com/users/JeffAbrahamson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"nlohmann","id":159488,"avatar_url":"https://avatars.githubusercontent.com/u/159488?v=3","gravatar_id":"","url":"https://api.github.com/users/nlohmann","html_url":"https://github.com/nlohmann","followers_url":"https://api.github.com/users/nlohmann/followers","following_url":"https://api.github.com/users/nlohmann/following{/other_user}","gists_url":"https://api.github.com/users/nlohmann/gists{/gist_id}","starred_url":"https://api.github.com/users/nlohmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlohmann/subscriptions","organizations_url":"https://api.github.com/users/nlohmann/orgs","repos_url":"https://api.github.com/users/nlohmann/repos","events_url":"https://api.github.com/users/nlohmann/events{/privacy}","received_events_url":"https://api.github.com/users/nlohmann/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-04-30T11:54:04Z","updated_at":"2015-05-01T09:57:22Z","closed_at":"2015-05-01T09:57:22Z","body":"╭╴ (master=)╶╮\r\n╰ jeff@siegfried:json $ uname -a\r\nLinux siegfried 3.16.0-33-generic #44-Ubuntu SMP Thu Mar 12 12:19:35 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux\r\n╭╴ (master=)╶╮\r\n╰ jeff@siegfried:json $ make\r\ng++ -std=c++11  -Wall -Wextra -pedantic -Weffc++ -Wcast-align -Wcast-qual -Wctor-dtor-privacy -Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-declarations -Wmissing-include-dirs -Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wsign-conversion -Wsign-promo -Wstrict-overflow=5 -Wswitch -Wundef -Wno-unused -Wnon-virtual-dtor -Wreorder -Wdeprecated -Wfloat-equal  -I src -I test test/unit.cpp  -o json_unit\r\nIn file included from test/unit.cpp:11:0:\r\ntest/catch.hpp:264:57: warning: ‘const T& Catch::operator+(const T&, Catch::StreamEndStop)’ should return by value [-Weffc++]\r\n     T const& operator + ( T const& value, StreamEndStop ) {\r\n                                                         ^\r\ntest/catch.hpp: In copy constructor ‘Catch::NotImplementedException::NotImplementedException(const Catch::NotImplementedException&)’:\r\ntest/catch.hpp:280:9: warning: ‘Catch::NotImplementedException::m_what’ should be initialized in the member initialization list [-Weffc++]\r\n         NotImplementedException( NotImplementedException const& ) {}\r\n         ^\r\ntest/catch.hpp:280:9: warning: ‘Catch::NotImplementedException::m_lineInfo’ should be initialized in the member initialization list [-Weffc++]\r\nIn file included from test/unit.cpp:11:0:\r\ntest/catch.hpp: At global scope:\r\ntest/catch.hpp:478:7: warning: ‘class Catch::MethodTestCase<C>’ only defines a private destructor and has no friends [-Wctor-dtor-privacy]\r\n class MethodTestCase : public SharedImpl<ITestCase> {\r\n       ^\r\ntest/catch.hpp: In constructor ‘Catch::AssertionInfo::AssertionInfo()’:\r\ntest/catch.hpp:645:9: warning: ‘Catch::AssertionInfo::macroName’ should be initialized in the member initialization list [-Weffc++]\r\n         AssertionInfo() {}\r\n         ^\r\ntest/catch.hpp:645:9: warning: ‘Catch::AssertionInfo::lineInfo’ should be initialized in the member initialization list [-Weffc++]\r\ntest/catch.hpp:645:9: warning: ‘Catch::AssertionInfo::capturedExpression’ should be initialized in the member initialization list [-Weffc++]\r\ntest/catch.hpp:645:9: warning: ‘Catch::AssertionInfo::resultDisposition’ should be initialized in the member initialization list [-Weffc++]\r\ntest/catch.hpp: In constructor ‘Catch::AssertionResultData::AssertionResultData()’:\r\ntest/catch.hpp:659:9: warning: ‘Catch::AssertionResultData::reconstructedExpression’ should be initialized in the member initialization list [-Weffc++]\r\n         AssertionResultData() : resultType( ResultWas::Unknown ) {}\r\n         ^\r\ntest/catch.hpp:659:9: warning: ‘Catch::AssertionResultData::message’ should be initialized in the member initialization list [-Weffc++]\r\n\r\n..."},"comment":{"url":"https://api.github.com/repos/nlohmann/json/issues/comments/98087257","html_url":"https://github.com/nlohmann/json/issues/64#issuecomment-98087257","issue_url":"https://api.github.com/repos/nlohmann/json/issues/64","id":98087257,"user":{"login":"nlohmann","id":159488,"avatar_url":"https://avatars.githubusercontent.com/u/159488?v=3","gravatar_id":"","url":"https://api.github.com/users/nlohmann","html_url":"https://github.com/nlohmann","followers_url":"https://api.github.com/users/nlohmann/followers","following_url":"https://api.github.com/users/nlohmann/following{/other_user}","gists_url":"https://api.github.com/users/nlohmann/gists{/gist_id}","starred_url":"https://api.github.com/users/nlohmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlohmann/subscriptions","organizations_url":"https://api.github.com/users/nlohmann/orgs","repos_url":"https://api.github.com/users/nlohmann/repos","events_url":"https://api.github.com/users/nlohmann/events{/privacy}","received_events_url":"https://api.github.com/users/nlohmann/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T09:57:22Z","updated_at":"2015-05-01T09:57:22Z","body":"Hi @JeffAbrahamson, thanks for reporting!\r\n\r\nI switched on the warnings to see whether there are warnings in the `json.hpp` header. The warnings you see all affect the [Catch](https://github.com/philsquared/Catch) unit test framework, and I think [this ticket](https://github.com/philsquared/Catch/issues/407) addresses this issue.\r\n\r\nAll the best\r\nNiels"}}