{"action":"created","issue":{"url":"https://api.github.com/repos/g-truc/glm/issues/555","repository_url":"https://api.github.com/repos/g-truc/glm","labels_url":"https://api.github.com/repos/g-truc/glm/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/g-truc/glm/issues/555/comments","events_url":"https://api.github.com/repos/g-truc/glm/issues/555/events","html_url":"https://github.com/g-truc/glm/issues/555","id":180253745,"number":555,"title":"MSVC 2015U3 compile error in tvec4<T, P>::tvec4(ctor)","user":{"login":"ma30002000","id":5254094,"avatar_url":"https://avatars.githubusercontent.com/u/5254094?v=3","gravatar_id":"","url":"https://api.github.com/users/ma30002000","html_url":"https://github.com/ma30002000","followers_url":"https://api.github.com/users/ma30002000/followers","following_url":"https://api.github.com/users/ma30002000/following{/other_user}","gists_url":"https://api.github.com/users/ma30002000/gists{/gist_id}","starred_url":"https://api.github.com/users/ma30002000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ma30002000/subscriptions","organizations_url":"https://api.github.com/users/ma30002000/orgs","repos_url":"https://api.github.com/users/ma30002000/repos","events_url":"https://api.github.com/users/ma30002000/events{/privacy}","received_events_url":"https://api.github.com/users/ma30002000/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/g-truc/glm/labels/bug","name":"bug","color":"e99695"},{"url":"https://api.github.com/repos/g-truc/glm/labels/core","name":"core","color":"d4c5f9"},{"url":"https://api.github.com/repos/g-truc/glm/labels/visual%20c++","name":"visual c++","color":"bfdadc"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/g-truc/glm/milestones/6","html_url":"https://github.com/g-truc/glm/milestones/GLM%200.9.8","labels_url":"https://api.github.com/repos/g-truc/glm/milestones/6/labels","id":173769,"number":6,"title":"GLM 0.9.8","description":"","creator":{"login":"Groovounet","id":367227,"avatar_url":"https://avatars.githubusercontent.com/u/367227?v=3","gravatar_id":"","url":"https://api.github.com/users/Groovounet","html_url":"https://github.com/Groovounet","followers_url":"https://api.github.com/users/Groovounet/followers","following_url":"https://api.github.com/users/Groovounet/following{/other_user}","gists_url":"https://api.github.com/users/Groovounet/gists{/gist_id}","starred_url":"https://api.github.com/users/Groovounet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Groovounet/subscriptions","organizations_url":"https://api.github.com/users/Groovounet/orgs","repos_url":"https://api.github.com/users/Groovounet/repos","events_url":"https://api.github.com/users/Groovounet/events{/privacy}","received_events_url":"https://api.github.com/users/Groovounet/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":68,"state":"open","created_at":"2012-09-12T10:39:31Z","updated_at":"2016-10-16T13:23:51Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2016-09-30T08:57:50Z","updated_at":"2016-10-16T13:23:51Z","closed_at":"2016-10-16T13:23:51Z","body":"When updating GLM from 0.9.7.6 to 0.9.8.1, the following compile error occurs in MSVC 2015U3:\r\n`c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail\\type_vec4.inl(182): error C2476: 'constexpr' constructor does not initialize all members\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(42): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::x' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(42): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::y' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(42): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::z' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(42): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::w' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(43): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::r' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(43): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::g' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(43): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::b' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(43): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::a' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(44): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::s' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(44): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::t' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(44): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::p' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(44): note: 'glm::tvec4<float,glm::aligned_lowp>::<unnamed-tag>::q' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail/type_vec4.hpp(46): note: 'glm::tvec4<float,glm::aligned_lowp>::data' was not initialized by the constructor\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail\\type_vec4.inl(183): note: while compiling class template member function 'glm::tvec4<float,glm::aligned_lowp>::tvec4(glm::ctor)'\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail\\type_vec4_simd.inl(155): note: see reference to function template instantiation 'glm::tvec4<float,glm::aligned_lowp>::tvec4(glm::ctor)' being compiled\r\n1>  c:\\devel\\videosdk\\vcsmm\\include\\glm\\detail\\type_vec4_simd.inl(154): note: see reference to class template instantiation 'glm::tvec4<float,glm::aligned_lowp>' being compiled`\r\n\r\nAdding a default ctor call for all element fixes the issue:\r\n```\r\n@@ -180,6 +180,7 @@\r\n \r\n \ttemplate <typename T, precision P>\r\n \tGLM_FUNC_QUALIFIER GLM_CONSTEXPR_CTOR tvec4<T, P>::tvec4(ctor)\r\n+\t\t: x(), y(), z(), w() \r\n \t{}\r\n \r\n \ttemplate <typename T, precision P>\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/g-truc/glm/issues/comments/254046696","html_url":"https://github.com/g-truc/glm/issues/555#issuecomment-254046696","issue_url":"https://api.github.com/repos/g-truc/glm/issues/555","id":254046696,"user":{"login":"Groovounet","id":367227,"avatar_url":"https://avatars.githubusercontent.com/u/367227?v=3","gravatar_id":"","url":"https://api.github.com/users/Groovounet","html_url":"https://github.com/Groovounet","followers_url":"https://api.github.com/users/Groovounet/followers","following_url":"https://api.github.com/users/Groovounet/following{/other_user}","gists_url":"https://api.github.com/users/Groovounet/gists{/gist_id}","starred_url":"https://api.github.com/users/Groovounet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Groovounet/subscriptions","organizations_url":"https://api.github.com/users/Groovounet/orgs","repos_url":"https://api.github.com/users/Groovounet/repos","events_url":"https://api.github.com/users/Groovounet/events{/privacy}","received_events_url":"https://api.github.com/users/Groovounet/received_events","type":"User","site_admin":false},"created_at":"2016-10-16T13:23:51Z","updated_at":"2016-10-16T13:23:51Z","body":"This issue should be fixed in GLM 0.9.8 and master branches. \r\n\r\nI think you are using GLM_FORCE_CXX11 in your code with Visual C++ however Visual C++ doesn't fully support C++11. \r\n\r\nBy default GLM will automatically detect the compiler and its version to use only the feature set supported by the compiler. Using GLM_FORCE_CXX11, you override this system to use the C++11 features.\r\n\r\nThanks,\r\nChristophe\r\n "}}
{"actor":{"display_login":"Groovounet"}}