Re: [PATCH] libsanitizer: Move language level from gnu++14 to gnu++17

2024-11-22 Thread Jakub Jelinek
On Thu, Nov 21, 2024 at 05:21:27PM -0800, Andrew Pinski wrote: > While compiling libsanitizer for aarch64-linux-gnu, I noticed the new warning: > ``` > ../../../../libsanitizer/asan/asan_interceptors.cpp: In function ‘char* > ___interceptor_strcpy(char*, const char*)’: > ../../../../libsanitizer/a

[PATCH] libsanitizer: Move language level from gnu++14 to gnu++17

2024-11-21 Thread Andrew Pinski
While compiling libsanitizer for aarch64-linux-gnu, I noticed the new warning: ``` ../../../../libsanitizer/asan/asan_interceptors.cpp: In function ‘char* ___interceptor_strcpy(char*, const char*)’: ../../../../libsanitizer/asan/asan_interceptors.cpp:554:6: warning: ‘if constexpr’ only available