Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
d9f3611a
Commit
d9f3611a
authored
Apr 06, 2018
by
Gennadiy Civil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more MSVC warnings
parent
c75b76e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
gtest.h
googletest/include/gtest/gtest.h
+11
-0
No files found.
googletest/include/gtest/gtest.h
View file @
d9f3611a
...
@@ -82,6 +82,13 @@
...
@@ -82,6 +82,13 @@
namespace
testing
{
namespace
testing
{
// Silence C4100 (unreferenced formal parameter) for MSVC
#ifdef _MSC_VER
# pragma warning(push)
# pragma warning(disable:4100)
#endif
// Declares the flags.
// Declares the flags.
// This flag temporary enables the disabled tests.
// This flag temporary enables the disabled tests.
...
@@ -2298,6 +2305,10 @@ bool StaticAssertTypeEq() {
...
@@ -2298,6 +2305,10 @@ bool StaticAssertTypeEq() {
// Tries to determine an appropriate directory for the platform.
// Tries to determine an appropriate directory for the platform.
GTEST_API_
std
::
string
TempDir
();
GTEST_API_
std
::
string
TempDir
();
#ifdef _MSC_VER
# pragma warning(pop)
#endif
}
// namespace testing
}
// namespace testing
// Use this function in main() to run all tests. It returns 0 if all
// Use this function in main() to run all tests. It returns 0 if all
...
...
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