{"action":"opened","issue":{"url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/479","repository_url":"https://api.github.com/repos/open-source-parsers/jsoncpp","labels_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/479/comments","events_url":"https://api.github.com/repos/open-source-parsers/jsoncpp/issues/479/events","html_url":"https://github.com/open-source-parsers/jsoncpp/issues/479","id":156895096,"number":479,"title":"\"Error: Cannot take the address of a bit field.\" compile error on Solaris 11 Sparc","user":{"login":"punchkicker","id":19582657,"avatar_url":"https://avatars.githubusercontent.com/u/19582657?v=3","gravatar_id":"","url":"https://api.github.com/users/punchkicker","html_url":"https://github.com/punchkicker","followers_url":"https://api.github.com/users/punchkicker/followers","following_url":"https://api.github.com/users/punchkicker/following{/other_user}","gists_url":"https://api.github.com/users/punchkicker/gists{/gist_id}","starred_url":"https://api.github.com/users/punchkicker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/punchkicker/subscriptions","organizations_url":"https://api.github.com/users/punchkicker/orgs","repos_url":"https://api.github.com/users/punchkicker/repos","events_url":"https://api.github.com/users/punchkicker/events{/privacy}","received_events_url":"https://api.github.com/users/punchkicker/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-26T03:17:13Z","updated_at":"2016-05-26T03:17:13Z","closed_at":null,"body":"Hello.\r\n\r\nI am trying to compile my project on a Solaris 11.3 sparc sun4v server.  I am using the amalgamated source of Jsoncpp 1.7.2 (originally using v1.6.5, same error), with no changes.  During compilation, I am getting this error:\r\n\r\n> \r\n\"dist/jsoncpp.cpp\", line 4630: Error: Cannot take the address of a bit field.\r\n\r\nthis line number maps to:\r\n\r\n> (4629)  StyledStreamWriter::StyledStreamWriter(JSONCPP_STRING indentation)\r\n> (**4630**)     : document_(NULL), rightMargin_(74), indentation_(indentation),\r\n> (4631)        addChildValues_() {}\r\n\r\nI am using the CC compiler found in Solaris Studio 12.4 (CC: Sun C++ 5.13 SunOS_sparc 151845-14 2016/03/28)\r\n\r\nHere are the compile flags that I am using for jsoncpp.cpp:\r\n\r\n> CC -KPIC -m64  -std=c++11  -DSOLARIS -I. -I../src/include  -I../src/include/platforms/solaris_SPARC64  -I dist -c dist/jsoncpp.cpp -o dist/jsoncpp.o\r\n\r\nI have built this project successfully (using Json 1.6.5) on Suse Linux (GCC compiler), Red Hat (GCC), and Windows (Visual Studio) and it works fine, but for some reason the Solaris build using the CC compiler is throwing this error.  Any ideas?  Anything I'm missing?  Any more information I should include?\r\n\r\nThanks!\r\n"}}
{"actor":{"display_login":"punchkicker"}}