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. */