{"action":"created","issue":{"url":"https://api.github.com/repos/philsquared/Catch/issues/450","labels_url":"https://api.github.com/repos/philsquared/Catch/issues/450/labels{/name}","comments_url":"https://api.github.com/repos/philsquared/Catch/issues/450/comments","events_url":"https://api.github.com/repos/philsquared/Catch/issues/450/events","html_url":"https://github.com/philsquared/Catch/issues/450","id":91955535,"number":450,"title":"Catch won't compile, throwing some incomprehensible template errors","user":{"login":"CelticMinstrel","id":578731,"avatar_url":"https://avatars.githubusercontent.com/u/578731?v=3","gravatar_id":"","url":"https://api.github.com/users/CelticMinstrel","html_url":"https://github.com/CelticMinstrel","followers_url":"https://api.github.com/users/CelticMinstrel/followers","following_url":"https://api.github.com/users/CelticMinstrel/following{/other_user}","gists_url":"https://api.github.com/users/CelticMinstrel/gists{/gist_id}","starred_url":"https://api.github.com/users/CelticMinstrel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CelticMinstrel/subscriptions","organizations_url":"https://api.github.com/users/CelticMinstrel/orgs","repos_url":"https://api.github.com/users/CelticMinstrel/repos","events_url":"https://api.github.com/users/CelticMinstrel/events{/privacy}","received_events_url":"https://api.github.com/users/CelticMinstrel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-30T01:59:46Z","updated_at":"2015-09-07T14:27:40Z","closed_at":"2015-07-01T17:21:58Z","body":"I can't compile the minimal Catch program (just the `#define CATCH_CONFIG_MAIN` and `#include \"catch.hpp\"`) with XCode 4.5.2 (clang 4.2 or so) on Mac OSX Lion, using the default version of libc++. The error log is rather long, but you can view it [here](http://celmin.pwcsite.com/misc/catch_build_errors.txt). I tried to go through the errors and figure out the cause, but was unable to make any progress.\r\n\r\nI just downloaded the single-include header earlier today from here on github, so it's presumably the latest copy. Is there anything I can do to fix this issue, or could it be that my compiler/library is just too old?"},"comment":{"url":"https://api.github.com/repos/philsquared/Catch/issues/comments/138312886","html_url":"https://github.com/philsquared/Catch/issues/450#issuecomment-138312886","issue_url":"https://api.github.com/repos/philsquared/Catch/issues/450","id":138312886,"user":{"login":"vadz","id":146917,"avatar_url":"https://avatars.githubusercontent.com/u/146917?v=3","gravatar_id":"","url":"https://api.github.com/users/vadz","html_url":"https://github.com/vadz","followers_url":"https://api.github.com/users/vadz/followers","following_url":"https://api.github.com/users/vadz/following{/other_user}","gists_url":"https://api.github.com/users/vadz/gists{/gist_id}","starred_url":"https://api.github.com/users/vadz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vadz/subscriptions","organizations_url":"https://api.github.com/users/vadz/orgs","repos_url":"https://api.github.com/users/vadz/repos","events_url":"https://api.github.com/users/vadz/events{/privacy}","received_events_url":"https://api.github.com/users/vadz/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T14:27:40Z","updated_at":"2015-09-07T14:27:40Z","body":"FWIW I just ran into the same problem with CATCH 1.2.1 while compiling something using 10.8 SDK (for compatibility with OS X 10.7). This does look like a bug in compiler (mine is even older, it's `Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)`), but I'm not completely sure.\r\n\r\nNotice that this only happens if `-std=c++11` is used, without it everything is fine (whether using `-stdlib=libc++` or not)."}}