Google test uses a macro to avoid a GCC warning about dangling else conditions. It suppresses a warning for code like:
GCC 7 added new warnings and this macro no longer works. The solution is to either disable the new warning or use braces. Since using braces is easy, we should fix this by adding appropriate braces.