MSVC++ disallows zero-length array in struct

This commit is contained in:
John Reiser
2011-11-23 13:05:00 -08:00
parent 31af22c2ff
commit f6ee8b9f04
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -190,7 +190,7 @@ protected:
unsigned namesz;
unsigned descsz;
unsigned type;
unsigned char body[0];
//unsigned char body[0];
};
static void compileTimeAssertions() {