From be3307eb6792f8a6f14137167d605002a4244d74 Mon Sep 17 00:00:00 2001 From: Josh Klontz Date: Wed, 9 Jul 2014 16:01:36 -0400 Subject: [PATCH] fixed msvc warning --- openbr/universal_template.h | 5 +++++ 1 file changed, 5 insertions(+), 0 deletions(-) diff --git a/openbr/universal_template.h b/openbr/universal_template.h index c4b4271..ada0a31 100644 --- a/openbr/universal_template.h +++ b/openbr/universal_template.h @@ -25,6 +25,11 @@ extern "C" { #endif +// Disable 'nonstandard extension used : zero-sized array in struct/union' warning +#ifdef _MSC_VER +# pragma warning(disable: 4200) +#endif // _MSC_VER + /*! * \brief A flat template format for representing arbitrary feature vectors. */ -- libgit2 0.21.4