mirror of
https://github.com/apache/nuttx.git
synced 2026-05-24 07:46:16 +08:00
libs/libx: relax compiler check for workaround with "GCC 12.2"
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Gustavo Henrique Nihei
parent
33a4a61cfb
commit
a261439b8b
@@ -84,8 +84,8 @@ libcxx/src/filesystem/operations.cpp_CXXFLAGS += -Wno-shadow
|
||||
# 2676 | const basic_string __temp (__first, __last, __alloc());
|
||||
# | ^~~~~~
|
||||
|
||||
GCCVER = $(shell $(CXX) --version | grep g++ | sed -r 's/.* ([0-9]+\.[0-9]+\.[0-9]+).*/\1/')
|
||||
ifeq ($(GCCVER),12.2.1)
|
||||
GCCVER = $(shell $(CXX) --version | grep g++ | sed -r 's/.* ([0-9]+\.[0-9]+).*/\1/')
|
||||
ifeq ($(GCCVER),12.2)
|
||||
libcxx/src/filesystem/operations.cpp_CXXFLAGS += -Wno-maybe-uninitialized
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user