mirror of
https://github.com/darlinghq/ctest.git
synced 2024-12-04 18:46:27 +00:00
Eliminate use of empty struct in test code
Where GCC and Clang issue warnings such as "empty struct is a GNU extension" (with `-Wgnu-empty-struct`) or "empty struct has size 0 in C, size 1 in C++" (with `-Wc++-compat`), MSVC issues an error C2016 "C requires that a struct or union has at least one member".
This commit is contained in:
parent
a0d3adb693
commit
b8f1802522