Re: [edk2-devel] [PATCH 3/3] BaseTools: Build against C++14 when building with clang

2023-03-15 Thread Gerd Hoffmann
On Thu, Feb 16, 2023 at 08:51:01PM -0700, Rebecca Cran wrote: > clang 17 defaults to C++17, where the 'register' keyword is deprecated > and the warning changed to an error. To avoid build errors, compile > against C++14 by specifying '-std=c++14' in CXXFLAGS. Acked-by: Gerd Hoffmann -=-=-=-=-

[edk2-devel] [PATCH 3/3] BaseTools: Build against C++14 when building with clang

2023-02-16 Thread Rebecca Cran
clang 17 defaults to C++17, where the 'register' keyword is deprecated and the warning changed to an error. To avoid build errors, compile against C++14 by specifying '-std=c++14' in CXXFLAGS. Signed-off-by: Rebecca Cran --- BaseTools/Source/C/Makefiles/header.makefile | 2 +- BaseTools/Source/C