File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/include/OpenImageIO/detail Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -222,6 +222,10 @@ else ifeq (${platform}, macosx)
222
222
MY_CMAKE_FLAGS += \
223
223
-DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11
224
224
USE_LIBCPLUSPLUS := 0
225
+ else ifeq (${COMPILER}, gcc13)
226
+ MY_CMAKE_FLAGS += \
227
+ -DCMAKE_C_COMPILER=gcc-13 -DCMAKE_CXX_COMPILER=g++-13
228
+ USE_LIBCPLUSPLUS := 0
225
229
else ifeq (${COMPILER},clang13)
226
230
MY_CMAKE_FLAGS += -DCMAKE_C_COMPILER=/usr/local/opt/llvm@13/bin/clang \
227
231
-DCMAKE_CXX_COMPILER=/usr/local/opt/llvm@13/bin/clang++
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ OIIO_PRAGMA_WARNING_PUSH
41
41
#if OIIO_GNUC_VERSION >= 70000
42
42
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
43
43
#endif
44
+ #if OIIO_GNUC_VERSION >= 130000
45
+ # pragma GCC diagnostic ignored "-Wdangling-reference"
46
+ #endif
44
47
#if OIIO_INTEL_LLVM_COMPILER
45
48
# pragma GCC diagnostic ignored "-Wtautological-constant-compare"
46
49
#endif
You can’t perform that action at this time.
0 commit comments