mirror of
https://github.com/darlinghq/ctest.git
synced 2024-12-05 02:57:04 +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
Loading…
Reference in New Issue
Block a user