[cfe-users] Error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] when building Boost 1.69.0
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. project-config.jam Description: project-config.jam ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
Re: [cfe-users] [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-...@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-...@lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users
[cfe-users] misc-new-delete-overloads
Hi there, Apologies if this is the wrong place to ask about this - if it is I'd be very grateful if you'd point me in the right direction :) I'm seeing the clang-tidy warning 'misc-new-delete-overloads' when using the two parameter version of class member delete, however when using the single parameter version the warning goes away. class Type { void* operator new(size_t) { ... } void operator delete(void*) { ... } // no warning void operator delete (void*, size_t) { ... } // warning }; When using the second version I don't think this warning should be reported. Is this correct or am I missing something? I've been double checking things here: https://en.cppreference.com/w/cpp/memory/new/operator_new (Items 15, 16) https://en.cppreference.com/w/cpp/memory/new/operator_delete (Items 17, 18 and 21, 22) I'm using clang on Windows and using Clang Power Tools in Visual Studio to invoke clang-tidy. Any info would be greatly appreciated! Thank you for your time, Tom ___ cfe-users mailing list cfe-users@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users