<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Yes, this keyword is no longer valid starting from C++17:<br>
<a class="moz-txt-link-freetext" href="https://en.cppreference.com/w/cpp/keyword/register">https://en.cppreference.com/w/cpp/keyword/register</a></p>
<p>I realize that the "why" probably doesn't help you move forth
with your problem, so here are a couple suggestions how to get
over it:</p>
<ul>
<li>Build Boost in C++14 mode with -std=c++14<br>
</li>
<li>Cut out "register" from the Boost source and rebuild</li>
<li>Try a newer Boost version, it may have been fixed</li>
</ul>
<p>Oleg.<br>
</p>
<div class="moz-cite-prefix">On 2018-12-23 09:26, Craig Topper via
cfe-dev wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAF7ks-P-MpdnpFjxzYZd3YdPh=V0QqBSSx520i+ht6eAALneYA@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>This seems a better question for cfe-dev or cfe-users</div>
<br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">~Craig</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Dec 22, 2018 at 12:23 PM Osman Zakir via
llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org"
moz-do-not-send="true">llvm-dev@lists.llvm.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div
style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt"><span>When
trying to build Boost using LLVM, I had this error:</span></div>
<div
style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt"><span>"</span></div>
<div
style="color:rgb(0,0,0);font-family:Calibri,Helvetica,sans-serif;font-size:12pt"><span>error:
ISO C++17 does not allow 'register' storage class
specifier [-Wregister]<br>
<div>"</div>
<div>I attached the project-config.jam file I used to
this message. Someone please help me out (if there's
someone on here who can). </div>
</span></div>
</div>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank"
moz-do-not-send="true">llvm-dev@lists.llvm.org</a><br>
<a
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
cfe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cfe-dev@lists.llvm.org">cfe-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev</a>
</pre>
</blockquote>
</body>
</html>