Boost C++ Libraries: Ticket #10031: clang-3.5 with -Wall -Werror fails to build with uuid https://svn.boost.org/trac10/ticket/10031 <p> In file included from /usr/include/boost-1_56/boost/uuid/uuid.hpp:203: /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:42:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm = uuids::detail::load_unaligned_si128(data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:53:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_this = uuids::detail::load_unaligned_si128(data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:54:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_rhs = uuids::detail::load_unaligned_si128(rhs.data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:61:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_left = uuids::detail::load_unaligned_si128(lhs.data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:62:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_right = uuids::detail::load_unaligned_si128(rhs.data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:64:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_cmp = _mm_cmpeq_epi32(mm_left, mm_right); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:74:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_left = uuids::detail::load_unaligned_si128(lhs.data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> /usr/include/boost-1_56/boost/uuid/detail/uuid_x86.hpp:75:5: error: 'register' storage class specifier is deprecated [-Werror,-Wdeprecated-register] </p> <blockquote> <p> register <span class="underline">m128i mm_right = uuids::detail::load_unaligned_si128(rhs.data); <sup><del></del><del></del> </sup></span></p> </blockquote> <p> 8 errors generated. </p> <p> Removing the "register" keyword in all the above cases resolves the issue for me. </p> <p> # clang --version Ubuntu clang version 3.5.0-1~exp1 (trunk) (based on LLVM 3.5.0) Target: x86_64-pc-linux-gnu Thread model: posix </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10031 Trac 1.4.3 simon.sasburg@… Mon, 11 Aug 2014 12:17:31 GMT cc set https://svn.boost.org/trac10/ticket/10031#comment:1 https://svn.boost.org/trac10/ticket/10031#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">simon.sasburg@…</span> added </li> </ul> Ticket robindegen@… Thu, 26 Feb 2015 16:41:51 GMT <link>https://svn.boost.org/trac10/ticket/10031#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10031#comment:2</guid> <description> <p> This is still an issue in 1.57.0. With a normal compile it generates 8 warnings aswell. </p> </description> <category>Ticket</category> </item> <item> <author>James E. King, III <jking@…></author> <pubDate>Fri, 04 Aug 2017 01:44:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/10031#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/10031#comment:3</guid> <description> <p> This was resolved in boost-1.59 and should be marked as such. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Michael Caisse</dc:creator> <pubDate>Sat, 12 Aug 2017 23:34:43 GMT</pubDate> <title>status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/10031#comment:4 https://svn.boost.org/trac10/ticket/10031#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.59.0</span> </li> </ul> Ticket