{"action":"created","issue":{"url":"https://api.github.com/repos/martinmoene/lest/issues/10","labels_url":"https://api.github.com/repos/martinmoene/lest/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/martinmoene/lest/issues/10/comments","events_url":"https://api.github.com/repos/martinmoene/lest/issues/10/events","html_url":"https://github.com/martinmoene/lest/issues/10","id":44008814,"number":10,"title":"Build fails at Travis: no type named 'underlying_type' in namespace 'std'","user":{"login":"martinmoene","id":1999290,"avatar_url":"https://avatars.githubusercontent.com/u/1999290?v=3","gravatar_id":"","url":"https://api.github.com/users/martinmoene","html_url":"https://github.com/martinmoene","followers_url":"https://api.github.com/users/martinmoene/followers","following_url":"https://api.github.com/users/martinmoene/following{/other_user}","gists_url":"https://api.github.com/users/martinmoene/gists{/gist_id}","starred_url":"https://api.github.com/users/martinmoene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinmoene/subscriptions","organizations_url":"https://api.github.com/users/martinmoene/orgs","repos_url":"https://api.github.com/users/martinmoene/repos","events_url":"https://api.github.com/users/martinmoene/events{/privacy}","received_events_url":"https://api.github.com/users/martinmoene/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-09-26T06:41:43Z","updated_at":"2015-05-18T16:52:59Z","closed_at":"2015-05-18T16:52:59Z","body":"After adding [`# pragma clang diagnostic ignored \"-Wunused-comparison\"`](https://github.com/martinmoene/lest/blob/master/lest.hpp#L31) to `lest.hpp` I discovered that the Makefile used by Travis CI didn't build test_lest anymore. After [fixing that](https://github.com/martinmoene/lest/commit/35e8cdb0634f5645d208ad06f89d1f84b8999d6f) it appeared that [clang trips over std::underlying_type<>](https://travis-ci.org/martinmoene/lest/builds/36177086), whereas on Windows,  g++ (GCC) 4.8.1 and Visual C++ 12 (Visual Studio 2013) succeed.\r\n\r\nEdit 27-Sep-2014: test_lest also compiles successfully with clang version 3.6.0 (trunk 218502) created on Windows 8.1 with MinGW/msys/g++.exe (GCC) 4.8.1.\r\n\r\nWithout further information, I tend  to consider the compilation failure of test_lest as a hiccup of clang at Travis.\r\n\r\nMoved from issue #9 ."},"comment":{"url":"https://api.github.com/repos/martinmoene/lest/issues/comments/103127697","html_url":"https://github.com/martinmoene/lest/issues/10#issuecomment-103127697","issue_url":"https://api.github.com/repos/martinmoene/lest/issues/10","id":103127697,"user":{"login":"martinmoene","id":1999290,"avatar_url":"https://avatars.githubusercontent.com/u/1999290?v=3","gravatar_id":"","url":"https://api.github.com/users/martinmoene","html_url":"https://github.com/martinmoene","followers_url":"https://api.github.com/users/martinmoene/followers","following_url":"https://api.github.com/users/martinmoene/following{/other_user}","gists_url":"https://api.github.com/users/martinmoene/gists{/gist_id}","starred_url":"https://api.github.com/users/martinmoene/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinmoene/subscriptions","organizations_url":"https://api.github.com/users/martinmoene/orgs","repos_url":"https://api.github.com/users/martinmoene/repos","events_url":"https://api.github.com/users/martinmoene/events{/privacy}","received_events_url":"https://api.github.com/users/martinmoene/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T16:52:59Z","updated_at":"2015-05-18T16:52:59Z","body":"Used this [travis configuration](https://github.com/richoux/Wall-in/blob/master/.travis.yml) by @richoux to compile with g++ 4.8.1 and clang 4.3 with libc++."}}