Kaydet (Commit) d4be7601 authored tarafından Jochen Nitschke's avatar Jochen Nitschke Kaydeden (comit) Michael Stahl

iwyu: add language standard defines to flags

for some reason they are not set and cause parse warnings

Change-Id: I1bbc14da8cd7f4cbde8e59934b6ace932245e2a1
Reviewed-on: https://gerrit.libreoffice.org/39093Reviewed-by: 's avatarMichael Stahl <mstahl@redhat.com>
Tested-by: 's avatarMichael Stahl <mstahl@redhat.com>
üst 4cea80db
......@@ -47,7 +47,7 @@ mkdir -p "$iwyu_DIR"
echo '$(eval $(call gb_StaticLibrary_StaticLibrary,iwyudummy))'
# clang will "compile" headers to .gch by default
echo '$(eval $(call gb_StaticLibrary_add_cxxflags,iwyudummy,-x c++ -Wno-unused-macros -Wno-unused-const-variable))'
echo '$(eval $(call gb_StaticLibrary_add_cxxflags,iwyudummy,-x c++ -D__cplusplus=201402L -D__STDC_VERSION__=201112L -Wno-unused-macros -Wno-unused-const-variable))'
echo '$(eval $(call gb_StaticLibrary_use_custom_headers,iwyudummy,officecfg/registry))'
echo '$(eval $(call gb_StaticLibrary_use_sdk_api,iwyudummy))'
echo '$(eval $(call gb_StaticLibrary_use_externals,iwyudummy,\'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment