{"action":"opened","issue":{"url":"https://api.github.com/repos/philsquared/Catch/issues/424","labels_url":"https://api.github.com/repos/philsquared/Catch/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/philsquared/Catch/issues/424/comments","events_url":"https://api.github.com/repos/philsquared/Catch/issues/424/events","html_url":"https://github.com/philsquared/Catch/issues/424","id":81036364,"number":424,"title":"Failure building using GCC 5 on Mac OS X 10.10.3","user":{"login":"kartikkumar","id":3645858,"avatar_url":"https://avatars.githubusercontent.com/u/3645858?v=3","gravatar_id":"","url":"https://api.github.com/users/kartikkumar","html_url":"https://github.com/kartikkumar","followers_url":"https://api.github.com/users/kartikkumar/followers","following_url":"https://api.github.com/users/kartikkumar/following{/other_user}","gists_url":"https://api.github.com/users/kartikkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/kartikkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kartikkumar/subscriptions","organizations_url":"https://api.github.com/users/kartikkumar/orgs","repos_url":"https://api.github.com/users/kartikkumar/repos","events_url":"https://api.github.com/users/kartikkumar/events{/privacy}","received_events_url":"https://api.github.com/users/kartikkumar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-26T16:24:55Z","updated_at":"2015-05-26T16:24:55Z","closed_at":null,"body":"Hi all,\r\n\r\nRecently, my Homebrew updated the GCC suite on my system to 5.1.0 and building with catch now triggers the following errors:\r\n\r\n```\r\n/usr/local/include/Catch/catch.hpp:813:17: error: 'nullptr_t' in namespace 'std' does not name a type\r\n     inline std::nullptr_t opCast(std::nullptr_t) { return nullptr; }\r\n                 ^\r\n/usr/local/include/Catch/catch.hpp:934:58: error: 'template<Catch::Internal::Operator Op, class T> bool Catch::Internal::compare' conflicts with a previous declaration\r\n     template<Operator Op, typename T> bool compare( std::nullptr_t, T* rhs ) {\r\n                                                          ^\r\n/usr/local/include/Catch/catch.hpp:928:44: note: previous declaration 'namespace Catch::Internal { }::compare'\r\n     template<Operator Op, typename T> bool compare( T* lhs, int rhs ) {\r\n                                            ^\r\n/usr/local/include/Catch/catch.hpp:934:53: error: 'nullptr_t' is not a member of 'std'\r\n     template<Operator Op, typename T> bool compare( std::nullptr_t, T* rhs ) {\r\n                                                     ^\r\n/usr/local/include/Catch/catch.hpp:934:70: error: expected primary-expression before '*' token\r\n     template<Operator Op, typename T> bool compare( std::nullptr_t, T* rhs ) {\r\n                                                                      ^\r\n/usr/local/include/Catch/catch.hpp:934:72: error: 'rhs' was not declared in this scope\r\n     template<Operator Op, typename T> bool compare( std::nullptr_t, T* rhs ) {\r\n                                                                        ^\r\n/usr/local/include/Catch/catch.hpp:934:76: error: expression list treated as compound expression in initializer [-fpermissive]\r\n     template<Operator Op, typename T> bool compare( std::nullptr_t, T* rhs ) {\r\n                                                                            ^\r\n/usr/local/include/Catch/catch.hpp:934:78: error: expected ';' before '{' token\r\n     template<Operator Op, typename T> bool compare( std::nullptr_t, T* rhs ) {\r\n                                                                              ^\r\n/usr/local/include/Catch/catch.hpp:937:66: error: 'std::nullptr_t' has not been declared\r\n     template<Operator Op, typename T> bool compare( T* lhs, std::nullptr_t ) {\r\n                                                                  ^\r\n/usr/local/include/Catch/catch.hpp:937:44: error: redefinition of 'template<Catch::Internal::Operator Op, class T> bool Catch::Internal::compare(T*, int)'\r\n     template<Operator Op, typename T> bool compare( T* lhs, std::nullptr_t ) {\r\n                                            ^\r\n/usr/local/include/Catch/catch.hpp:928:44: note: 'template<Catch::Internal::Operator Op, class T> bool Catch::Internal::compare(T*, int)' previously declared here\r\n     template<Operator Op, typename T> bool compare( T* lhs, int rhs ) {\r\n                                            ^\r\nIn file included from /Users/kartikkumar/Documents/Software/Dinamica/scarab/test/testScarab.cpp:12:0:\r\n/usr/local/include/Catch/catch.hpp:1184:38: error: 'std::__cxx11::string Catch::toString' redeclared as different kind of symbol\r\n std::string toString( std::nullptr_t );\r\n                                      ^\r\n/usr/local/include/Catch/catch.hpp:1181:13: note: previous declaration 'std::__cxx11::string Catch::toString(unsigned char)'\r\n std::string toString( unsigned char value );\r\n             ^\r\n/usr/local/include/Catch/catch.hpp:1184:23: error: 'nullptr_t' is not a member of 'std'\r\n std::string toString( std::nullptr_t );\r\n                       ^\r\nIn file included from /Users/kartikkumar/Documents/Software/Dinamica/scarab/test/testScarab.cpp:12:0:\r\n/usr/local/include/Catch/catch.hpp:6978:38: error: 'std::__cxx11::string Catch::toString' redeclared as different kind of symbol\r\n std::string toString( std::nullptr_t ) {\r\n                                      ^\r\n/usr/local/include/Catch/catch.hpp:6973:13: note: previous declaration 'std::__cxx11::string Catch::toString(unsigned char)'\r\n std::string toString( unsigned char value ) {\r\n             ^\r\n/usr/local/include/Catch/catch.hpp:6978:23: error: 'nullptr_t' is not a member of 'std'\r\n std::string toString( std::nullptr_t ) {\r\n```\r\n\r\nI'm building a C++ project using pre-C++-11 code. I'm assuming this has something to do with the fact that in GCC 5 C++11 has become the standard, but don't know if there is a simple fix for this.\r\n\r\nAny help would be greatly appreciated."}}