Suppress warnings in Google Mock
This commit is contained in:
1 parent
7d6622942c
commit
763d1fe6a3
1 file changed
+4
@@ -36,6 +36,10 @@
|
||||
#ifndef GMOCK_INCLUDE_GMOCK_GMOCK_H_
|
||||
#define GMOCK_INCLUDE_GMOCK_GMOCK_H_
|
||||
|
||||
#ifdef __clang__
|
||||
# pragma clang diagnostic ignored "-Wc99-extensions"
|
||||
#endif
|
||||
|
||||
// This file implements the following syntax:
|
||||
//
|
||||
// ON_CALL(mock_object.Method(...))
|
||||
|
||||
Reference in new issue
Block a user