Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
abbc0f81
Unverified
Commit
abbc0f81
authored
Jan 04, 2018
by
Gennadiy Civil
Committed by
GitHub
Jan 04, 2018
Browse files
Merge pull request #1377 from davidben/clang-cl
Also define GTEST_ATTRIBUTE_PRINTF_ in clang-cl.
parents
be6ee26a
1acf8c75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/include/gtest/internal/gtest-port.h
googletest/include/gtest/internal/gtest-port.h
+1
-1
No files found.
googletest/include/gtest/internal/gtest-port.h
View file @
abbc0f81
...
@@ -879,7 +879,7 @@ using ::std::tuple_size;
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment