topcoder-moj
topcoder-moj copied to clipboard
Empty arrays fail with GCC in standards conformance mode
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.