Merge pull request #1377 from davidben/clang-cl
Also define GTEST_ATTRIBUTE_PRINTF_ in clang-cl.
This commit is contained in:
commit
abbc0f8174
|
@ -879,7 +879,7 @@ using ::std::tuple_size;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Use this annotation before a function that takes a printf format string.
|
// Use this annotation before a function that takes a printf format string.
|
||||||
#if defined(__GNUC__) && !defined(COMPILER_ICC)
|
#if (defined(__GNUC__) || defined(__clang__)) && !defined(COMPILER_ICC)
|
||||||
# if defined(__MINGW_PRINTF_FORMAT)
|
# if defined(__MINGW_PRINTF_FORMAT)
|
||||||
// MinGW has two different printf implementations. Ensure the format macro
|
// MinGW has two different printf implementations. Ensure the format macro
|
||||||
// matches the selected implementation. See
|
// matches the selected implementation. See
|
||||||
|
|
Loading…
Reference in New Issue
Block a user