topcoder-moj icon indicating copy to clipboard operation
topcoder-moj copied to clipboard

Empty arrays fail with GCC in standards conformance mode

Open andreyv opened this issue 12 years ago • 0 comments

The compilation of zero-sized arrays fails with -std=c++98 -pedantic, because they are not supported by the C++ standard. But the current MSVC++ mode works well in this regard even with GCC. IMO, there should be no problem in using the latter solution for both of the compilers.

andreyv avatar Jun 09 '12 07:06 andreyv