{"action":"created","issue":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/90","labels_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/90/comments","events_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/90/events","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/90","id":49622651,"number":90,"title":"Failing ValueTest/integers unit test","user":{"login":"emarthinsen","id":135033,"avatar_url":"https://avatars.githubusercontent.com/u/135033?v=3","gravatar_id":"","url":"https://api.github.com/users/emarthinsen","html_url":"https://github.com/emarthinsen","followers_url":"https://api.github.com/users/emarthinsen/followers","following_url":"https://api.github.com/users/emarthinsen/following{/other_user}","gists_url":"https://api.github.com/users/emarthinsen/gists{/gist_id}","starred_url":"https://api.github.com/users/emarthinsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emarthinsen/subscriptions","organizations_url":"https://api.github.com/users/emarthinsen/orgs","repos_url":"https://api.github.com/users/emarthinsen/repos","events_url":"https://api.github.com/users/emarthinsen/events{/privacy}","received_events_url":"https://api.github.com/users/emarthinsen/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/labels/help+wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2014-11-20T21:49:04Z","updated_at":"2015-01-21T06:48:15Z","closed_at":null,"body":"I'm building with CMake and getting the following error from the unit tests:\r\n\r\n```\r\nTesting ValueTest/checkNormalizeFloatingPointStr: OK\r\nTesting ValueTest/memberCount: OK\r\nTesting ValueTest/objects: OK\r\nTesting ValueTest/arrays: OK\r\nTesting ValueTest/null: OK\r\nTesting ValueTest/strings: OK\r\nTesting ValueTest/bools: OK\r\nTesting ValueTest/integers: FAILED\r\nTesting ValueTest/nonIntegers: OK\r\nTesting ValueTest/compareNull: OK\r\nTesting ValueTest/compareInt: OK\r\nTesting ValueTest/compareUInt: OK\r\nTesting ValueTest/compareDouble: OK\r\nTesting ValueTest/compareString: OK\r\nTesting ValueTest/compareBoolean: OK\r\nTesting ValueTest/compareArray: OK\r\nTesting ValueTest/compareObject: OK\r\nTesting ValueTest/compareType: OK\r\nTesting ValueTest/offsetAccessors: OK\r\nTesting ValueTest/typeChecksThrowExceptions: OK\r\nTesting ReaderTest/parseWithNoErrors: OK\r\nTesting ReaderTest/parseWithNoErrorsTestingOffsets: OK\r\nTesting ReaderTest/parseWithOneError: OK\r\nTesting ReaderTest/parseChineseWithOneError: OK\r\nTesting ReaderTest/parseWithDetailError: OK\r\nTesting WriterTest/dropNullPlaceholders: OK\r\n* Detail of ValueTest/integers test failure:\r\n/home/eric/Development/jsoncpp/src/test_lib_json/main.cpp(664): kfint32max == val.asFloat()\r\n  Expected: 2147483648\r\n  Actual  : 2147483648\r\n25/26 tests passed (1 failure(s))\r\nmake[2]: *** [jsoncpp/bin/jsoncpp_test] Error 1\r\nmake[1]: *** [jsoncpp/src/test_lib_json/CMakeFiles/jsoncpp_test.dir/all] Error 2\r\nmake: *** [all] Error 2\r\n```\r\n\r\nIs this an issue in the code or maybe specific to my setup?"},"comment":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/comments/70792184","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/90#issuecomment-70792184","issue_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/90","id":70792184,"user":{"login":"illuusio","id":1902756,"avatar_url":"https://avatars.githubusercontent.com/u/1902756?v=3","gravatar_id":"","url":"https://api.github.com/users/illuusio","html_url":"https://github.com/illuusio","followers_url":"https://api.github.com/users/illuusio/followers","following_url":"https://api.github.com/users/illuusio/following{/other_user}","gists_url":"https://api.github.com/users/illuusio/gists{/gist_id}","starred_url":"https://api.github.com/users/illuusio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/illuusio/subscriptions","organizations_url":"https://api.github.com/users/illuusio/orgs","repos_url":"https://api.github.com/users/illuusio/repos","events_url":"https://api.github.com/users/illuusio/events{/privacy}","received_events_url":"https://api.github.com/users/illuusio/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T06:48:15Z","updated_at":"2015-01-21T06:48:15Z","body":"Yes I can get this bug on openSUSE x86 13.2 also. I digged little bit and numbers are equal when you print them out. I sound like compiler bug but because it happens wide range compilers I doub it that nobody else has spotted it.."}}