diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 14:32:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-06 14:56:28 +0100 |
commit | 67b4b34cce4abf745b24c858d533a25c291b5093 (patch) | |
tree | 58ef54b8336f6e9ceae7731f39ed5824d989b06b /external/coinmp | |
parent | 735cd3407856e0a6572eb6bbd402187dda2cdff4 (diff) |
coverity#1202902 Uncaught CoinError exception
Change-Id: I93488fa942f1975b9c32be6d37fc76ea955a2067
Diffstat (limited to 'external/coinmp')
-rw-r--r-- | external/coinmp/UnpackedTarball_coinmp.mk | 1 | ||||
-rw-r--r-- | external/coinmp/werror-undef.patch.0 | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/external/coinmp/UnpackedTarball_coinmp.mk b/external/coinmp/UnpackedTarball_coinmp.mk index 831f65fd59af..d2d9f0ce6822 100644 --- a/external/coinmp/UnpackedTarball_coinmp.mk +++ b/external/coinmp/UnpackedTarball_coinmp.mk @@ -19,6 +19,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,coinmp,\ external/coinmp/android.build.patch.1 \ external/coinmp/no-binaries.patch.1 \ external/coinmp/werror-format-security.patch.0 \ + external/coinmp/werror-undef.patch.0 \ external/coinmp/windows.build.patch.1 \ )) diff --git a/external/coinmp/werror-undef.patch.0 b/external/coinmp/werror-undef.patch.0 new file mode 100644 index 000000000000..a9b80f280af8 --- /dev/null +++ b/external/coinmp/werror-undef.patch.0 @@ -0,0 +1,11 @@ +--- CoinUtils/src/config_coinutils_default.h 2014-06-06 14:28:06.872113540 +0100 ++++ CoinUtils/src/config_coinutils_default.h 2014-06-06 14:28:29.400294129 +0100 +@@ -26,7 +26,7 @@ + all of this inside the guard for MSC_VER >= 1200. If you're reading this + and have been developing in MSVS long enough to know, fix it. -- lh, 100915 -- + */ +-#if _MSC_VER >= 1200 ++#if defined _MSC_VER && _MSC_VER >= 1200 + # include <BaseTsd.h> + # define COIN_INT64_T INT64 + # define COIN_UINT64_T UINT64 |