{"action":"created","issue":{"url":"https://api.github.com/repos/fplll/fplll/issues/65","repository_url":"https://api.github.com/repos/fplll/fplll","labels_url":"https://api.github.com/repos/fplll/fplll/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/fplll/fplll/issues/65/comments","events_url":"https://api.github.com/repos/fplll/fplll/issues/65/events","html_url":"https://github.com/fplll/fplll/issues/65","id":154742206,"number":65,"title":"problem using fplll as a library with g++ 6.1","user":{"login":"sfilip","id":12035795,"avatar_url":"https://avatars.githubusercontent.com/u/12035795?v=3","gravatar_id":"","url":"https://api.github.com/users/sfilip","html_url":"https://github.com/sfilip","followers_url":"https://api.github.com/users/sfilip/followers","following_url":"https://api.github.com/users/sfilip/following{/other_user}","gists_url":"https://api.github.com/users/sfilip/gists{/gist_id}","starred_url":"https://api.github.com/users/sfilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sfilip/subscriptions","organizations_url":"https://api.github.com/users/sfilip/orgs","repos_url":"https://api.github.com/users/sfilip/repos","events_url":"https://api.github.com/users/sfilip/events{/privacy}","received_events_url":"https://api.github.com/users/sfilip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-05-13T15:43:39Z","updated_at":"2016-06-27T08:42:01Z","closed_at":null,"body":"Hi! Using fplll as a library with g++ version 6.1 fails on my machine when compiling with the C++11 and C++14 standards. This is caused by the use of hexadecimal floating point constants in the src/dpe.h file (lines 186-192), which are not officially recognized as being standard C++ (they will be in C++17 however!), but are part of the C99 and C11 standards. The error message is: _error: exponent has no digits_\r\n\r\nBefore updating to g++ 6.1 I did not have this problem (even when using the -std=c++11 and -std=c++14 flags). Hexadecimal floats in g++ are now available **only** as extensions, by using -std=gnu89, -std=gnu++11 or -std=gnu++14 (now, the default flag).\r\n\r\nMaybe other users should be aware of this if they switch to a newer g++ version."},"comment":{"url":"https://api.github.com/repos/fplll/fplll/issues/comments/228686368","html_url":"https://github.com/fplll/fplll/issues/65#issuecomment-228686368","issue_url":"https://api.github.com/repos/fplll/fplll/issues/65","id":228686368,"user":{"login":"shi-bai","id":9876277,"avatar_url":"https://avatars.githubusercontent.com/u/9876277?v=3","gravatar_id":"","url":"https://api.github.com/users/shi-bai","html_url":"https://github.com/shi-bai","followers_url":"https://api.github.com/users/shi-bai/followers","following_url":"https://api.github.com/users/shi-bai/following{/other_user}","gists_url":"https://api.github.com/users/shi-bai/gists{/gist_id}","starred_url":"https://api.github.com/users/shi-bai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shi-bai/subscriptions","organizations_url":"https://api.github.com/users/shi-bai/orgs","repos_url":"https://api.github.com/users/shi-bai/repos","events_url":"https://api.github.com/users/shi-bai/events{/privacy}","received_events_url":"https://api.github.com/users/shi-bai/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T08:42:01Z","updated_at":"2016-06-27T08:42:01Z","body":"Silviu, thanks for the test again and the bug report. It seems that we need\r\nenum/enumerate_base.h\r\nin nobase_include_fplll_HEADERS in Makefile.am\r\n\r\nI added that in the current fplll git. Could you please try again? Tks :)"}}
{"actor":{"display_login":"shi-bai"}}