Osman Zakir via llvm-dev
2018-Dec-22 20:23 UTC
[llvm-dev] Error: ISO C++17 does not allow 'register' storage class specifier [-Wregister], when building Boost 1.69.0
When trying to build Boost using LLVM, I had this error: " error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] " 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). -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181222/fabab1a2/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: project-config.jam Type: application/octet-stream Size: 1144 bytes Desc: project-config.jam URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181222/fabab1a2/attachment.obj>
Craig Topper via llvm-dev
2018-Dec-22 20:26 UTC
[llvm-dev] Error: ISO C++17 does not allow 'register' storage class specifier [-Wregister], when building Boost 1.69.0
This seems a better question for cfe-dev or cfe-users ~Craig On Sat, Dec 22, 2018 at 12:23 PM Osman Zakir via llvm-dev < llvm-dev at lists.llvm.org> wrote:> When trying to build Boost using LLVM, I had this error: > " > error: ISO C++17 does not allow 'register' storage class specifier > [-Wregister] > " > 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). > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181222/a55530ac/attachment.html>
Oleg Smolsky via llvm-dev
2018-Dec-25 01:08 UTC
[llvm-dev] [cfe-dev] Error: ISO C++17 does not allow 'register' storage class specifier [-Wregister], when building Boost 1.69.0
Yes, this keyword is no longer valid starting from C++17: https://en.cppreference.com/w/cpp/keyword/register 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: * Build Boost in C++14 mode with -std=c++14 * Cut out "register" from the Boost source and rebuild * Try a newer Boost version, it may have been fixed Oleg. On 2018-12-23 09:26, Craig Topper via cfe-dev wrote:> This seems a better question for cfe-dev or cfe-users > > ~Craig > > > On Sat, Dec 22, 2018 at 12:23 PM Osman Zakir via llvm-dev > <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > > When trying to build Boost using LLVM, I had this error: > " > error: ISO C++17 does not allow 'register' storage class specifier > [-Wregister] > " > 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). > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org> > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > > > _______________________________________________ > cfe-dev mailing list > cfe-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181225/dca6e9fe/attachment.html>
Possibly Parallel Threads
- [cfe-dev] Error: ISO C++17 does not allow 'register' storage class specifier [-Wregister], when building Boost 1.69.0
- Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
- Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
- Have LLD and Clang in their correct locations, but still can't generate project files for LLVM
- Errors in configuration for LLVM with CMake GUI