File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 189189 - Linking ` fmt::fmt ` instead ` alsoft::fmt `
190190 - Exclude target ` alsoft::excommon `
191191 - Fix ` al::char_as_u8/al::u8_as_char ` in ` common/alstring.hpp ` with compiler flag: ` -fno-char8_t ` or ` /Zc:char8_t- `
192- - Disable non‑standard [[ clang::nonblocking]] attribute on Win32 to avoid compiler compatibility issues
192+ - Disable non‑standard [[ clang::nonblocking]] attribute to avoid compiler compatibility issues
193+ - Restrict warning flags scope to target: ` alsoft.common `
193194- License: LGPL-2.1
194195
195196## OpenSSL
Original file line number Diff line number Diff line change @@ -364,8 +364,7 @@ if(MSVC)
364364 # C4373 - virtual function overrides 'base_function', previous versions of
365365 # the compiler did not override when parameters only differed by
366366 # const/volatile qualifiers
367- # Axmol spec: Remove /W4 to avoid produces excessive warnings outside Axmol's codebase.
368- list (APPEND C_FLAGS /wd4127 /wd4324 /wd4373 /utf-8 $<$<COMPILE_LANGUAGE :CXX >:/EHsc >)
367+ list (APPEND C_FLAGS /W4 /wd4127 /wd4324 /wd4373 /utf-8 $<$<COMPILE_LANGUAGE :CXX >:/EHsc >)
369368
370369 if (NOT DXSDK_DIR)
371370 string (REGEX REPLACE "\\\\ " "/" DXSDK_DIR "$ENV{DXSDK_DIR} " )
@@ -1651,7 +1650,7 @@ endif()
16511650target_include_directories (alsoft.common
16521651 PUBLIC ${OpenAL_BINARY_DIR} ${OpenAL_SOURCE_DIR} /common ${OpenAL_SOURCE_DIR} /gsl/include )
16531652target_compile_definitions (alsoft.common PUBLIC ${CPP_DEFS} )
1654- target_compile_options (alsoft.common PUBLIC ${C_FLAGS} )
1653+ target_compile_options (alsoft.common PRIVATE ${C_FLAGS} )
16551654target_link_libraries (alsoft.common PUBLIC Threads::Threads ${LINKER_FLAGS} fmt::fmt )
16561655set_target_properties (alsoft.common PROPERTIES ${ALSOFT_STD_VERSION_PROPS}
16571656 POSITION_INDEPENDENT_CODE TRUE )
You can’t perform that action at this time.
0 commit comments