external/coinmp: Work around -Werror,-Wformat-pedantic
Clang trunk since r231211 with -pedantic-errors now emits "Cbc_C_Interface.cpp:379:55: error: format specifies type 'void *' but the argument has type 'char *' [-Werror,-Wformat-pedantic]" Change-Id: I5d410068f1cd82334f26148df30a45dbc9eabd0a
This commit is contained in:
parent
81f0c285de
commit
9fb3182b7a
2 changed files with 11 additions and 0 deletions
1
external/coinmp/UnpackedTarball_coinmp.mk
vendored
1
external/coinmp/UnpackedTarball_coinmp.mk
vendored
|
@ -25,6 +25,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,coinmp,\
|
|||
$(if $(filter 120,$(VCVER)),external/coinmp/coinmp-vs2013.patch.1) \
|
||||
) \
|
||||
$(if $(filter MACOSX,$(OS)),external/coinmp/macosx.build.patch.1) \
|
||||
external/coinmp/werror-format-pedantic.patch.0 \
|
||||
))
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
||||
|
|
10
external/coinmp/werror-format-pedantic.patch.0
vendored
Normal file
10
external/coinmp/werror-format-pedantic.patch.0
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- Cbc/configure
|
||||
+++ Cbc/configure
|
||||
@@ -3780,7 +3780,6 @@
|
||||
*-darwin*)
|
||||
;;
|
||||
*)
|
||||
- coin_warn_cxxflags="-pedantic-errors $coin_warn_cxxflags"
|
||||
;;
|
||||
esac
|
||||
esac
|
Loading…
Reference in a new issue