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
2346d257
"git@developer.sourcefind.cn:gaoqiong/pybind11.git" did not exist on "d5f92c7d2553197cfdcb42d7a2f57f0ad0236d3f"
Commit
2346d257
authored
Mar 25, 2010
by
zhanyong.wan
Browse files
Supports no-RTTI mode on AIX (by Hady Zalek).
parent
92344b76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
include/gtest/internal/gtest-port.h
include/gtest/internal/gtest-port.h
+11
-1
No files found.
include/gtest/internal/gtest-port.h
View file @
2346d257
...
@@ -333,7 +333,7 @@
...
@@ -333,7 +333,7 @@
#define GTEST_HAS_RTTI 1
#define GTEST_HAS_RTTI 1
#else
#else
#define GTEST_HAS_RTTI 0
#define GTEST_HAS_RTTI 0
#endif
// _CPPRTTI
#endif
#elif defined(__GNUC__)
#elif defined(__GNUC__)
...
@@ -349,6 +349,16 @@
...
@@ -349,6 +349,16 @@
#define GTEST_HAS_RTTI 1
#define GTEST_HAS_RTTI 1
#endif // GTEST_GCC_VER >= 40302
#endif // GTEST_GCC_VER >= 40302
#elif defined(__IBMCPP__)
// IBM Visual Age defines __RTTI_ALL__ to 1 if both the typeid and
// dynamic_cast features are present.
#ifdef __RTTI_ALL__
#define GTEST_HAS_RTTI 1
#else
#define GTEST_HAS_RTTI 0
#endif
#else
#else
// Unknown compiler - assume RTTI is enabled.
// Unknown compiler - assume RTTI is enabled.
...
...
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