Commit be3307eb6792f8a6f14137167d605002a4244d74
1 parent
a65a85c9
fixed msvc warning
Showing
1 changed file
with
5 additions
and
0 deletions
openbr/universal_template.h
| @@ -25,6 +25,11 @@ | @@ -25,6 +25,11 @@ | ||
| 25 | extern "C" { | 25 | extern "C" { |
| 26 | #endif | 26 | #endif |
| 27 | 27 | ||
| 28 | +// Disable 'nonstandard extension used : zero-sized array in struct/union' warning | ||
| 29 | +#ifdef _MSC_VER | ||
| 30 | +# pragma warning(disable: 4200) | ||
| 31 | +#endif // _MSC_VER | ||
| 32 | + | ||
| 28 | /*! | 33 | /*! |
| 29 | * \brief A flat template format for representing arbitrary feature vectors. | 34 | * \brief A flat template format for representing arbitrary feature vectors. |
| 30 | */ | 35 | */ |