[cfe-users] Error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] when building Boost 1.69.0

David Blaikie via cfe-users cfe-users at lists.llvm.org
Sun Dec 30 14:20:55 PST 2018

You could add -Wno-register to the compilation flags, or remove the use of
the register keyword from boost, or not compile in C++17 mode?

- Dave

On Tue, Dec 25, 2018 at 1:10 PM Osman Zakir via cfe-users <
cfe-users at lists.llvm.org> wrote:

> When I tried to build Boost with LLVM, I got the error mentioned in the
> title: "error: ISO C++17 does not allow 'register' storage class specifier
> [-Wregister]".  I've attached the project-config.jam file I used.  And I've
> also sent an email to the Boost users mailing list about this.
> Anyway, if possible, someone help would be appreciated.  How do I fix this
> problem?  Thanks in advance.
> _______________________________________________
> cfe-users mailing list
> cfe-users at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20181231/24424f49/attachment.html>

More information about the cfe-users mailing list