Skip to content

Don't add -frtti for tests. Use newer googletest.#37

Merged
dneto0 merged 1 commit into
KhronosGroup:masterfrom
dneto0:updated-googletest
Dec 1, 2015
Merged

Don't add -frtti for tests. Use newer googletest.#37
dneto0 merged 1 commit into
KhronosGroup:masterfrom
dneto0:updated-googletest

Conversation

@dneto0

@dneto0 dneto0 commented Dec 1, 2015

Copy link
Copy Markdown
Collaborator

Using -frtti caused link failures when both of the following are
in effect:
-DDISABLE_EXCEPTIONS=ON
-DDISABLE_RTTI=ON

The correct fix is to use tip-of-tree googletest.
Specifically, we need a version of googletest with the fix in
google/googletest#612
In particular, it must be later than googletest 1.7.0.

Using -frtti caused link failures when both of the following are
in effect:
	-DDISABLE_EXCEPTIONS=ON
	-DDISABLE_RTTI=ON

The correct fix is to use tip-of-tree googletest.
Specifically, we need a version of googletest with the fix in
google/googletest#612
In particular, it must be later than googletest 1.7.0.
@dekimir

dekimir commented Dec 1, 2015

Copy link
Copy Markdown

+2

@dneto0
dneto0 merged commit 292acb5 into KhronosGroup:master Dec 1, 2015
@dneto0
dneto0 deleted the updated-googletest branch December 1, 2015 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants