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
4f7018ed
Commit
4f7018ed
authored
Dec 04, 2013
by
kosak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Distinguish between C++11 language and library support for <initializer_list>.
Fix spelling: repositary -> repository.
parent
5d83ee08
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
README
README
+1
-1
gtest-port.h
include/gtest/internal/gtest-port.h
+8
-0
No files found.
README
View file @
4f7018ed
...
@@ -72,7 +72,7 @@ Getting the Source
...
@@ -72,7 +72,7 @@ Getting the Source
There
are
two
primary
ways
of
getting
Google
Test
's source code: you
There
are
two
primary
ways
of
getting
Google
Test
's source code: you
can download a stable source release in your preferred archive format,
can download a stable source release in your preferred archive format,
or directly check out the source from our Subversion (SVN) reposit
a
ry.
or directly check out the source from our Subversion (SVN) reposit
o
ry.
The SVN checkout requires a few extra steps and some extra software
The SVN checkout requires a few extra steps and some extra software
packages on your system, but lets you track the latest development and
packages on your system, but lets you track the latest development and
make patches much more easily, so we highly encourage it.
make patches much more easily, so we highly encourage it.
...
...
include/gtest/internal/gtest-port.h
View file @
4f7018ed
...
@@ -282,6 +282,14 @@
...
@@ -282,6 +282,14 @@
# endif
# endif
#endif
#endif
// C++11 specifies that <initializer_list> provides std::initializer_list. Use
// that if gtest is used in C++11 mode and libstdc++ isn't very old (binaries
// targeting OS X 10.6 can build with clang but need to use gcc4.2's
// libstdc++).
#if GTEST_LANG_CXX11 && (!defined(__GLIBCXX__) || __GLIBCXX__ > 20110325)
# define GTEST_HAS_STD_INITIALIZER_LIST_ 1
#endif
// Brings in definitions for functions used in the testing::internal::posix
// Brings in definitions for functions used in the testing::internal::posix
// namespace (read, write, close, chdir, isatty, stat). We do not currently
// namespace (read, write, close, chdir, isatty, stat). We do not currently
// use them on Windows Mobile.
// use them on Windows Mobile.
...
...
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