Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Dec 1, 2015

Conversation

dneto0
Copy link
Collaborator

@dneto0 dneto0 commented Dec 1, 2015

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
Copy link

dekimir commented Dec 1, 2015

+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