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

warning in mingw build #118

Closed
GoogleCodeExporter opened this issue Apr 6, 2015 · 2 comments
Closed

warning in mingw build #118

GoogleCodeExporter opened this issue Apr 6, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link


What steps will reproduce the problem?

1. compile gtest.cc with mingw

What is the expected output? What do you see instead?

I expect no errors and no warnings.
MinGW reports:
gtest.cc:1929: warning: 'void testing::AddExceptionThrownFailure(DWORD, const 
char*)' defined but not used

Which version of Google Mock are you using? On what operating system?

svn rev 452
Windows 7 32 Bit

Please provide any additional information below.

The "AddExceptionThrownFailure" method is only used for SEH exceptions, so it 
should be enabled with GTEST_HAS_SEH, not GTEST_OS_WINDOWS.

I've attached a patch.

Original issue reported on code.google.com by rjmy...@gmail.com on 5 Aug 2010 at 1:14

Attachments:

@GoogleCodeExporter
Copy link
Author

This should be covered with the exception handling changes, requested in issue 
44.

Original comment by vladlosev on 5 Aug 2010 at 6:52

  • Changed state: Accepted
  • Added labels: Component-Logic, OpSys-Windows, Usability

@GoogleCodeExporter
Copy link
Author

The fix belongs in Google Test, not Google Mock. Star the issue 
http://code.google.com/p/googletest/issues/detail?id=44 there for updates.

Original comment by vladlosev on 5 Aug 2010 at 6:55

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant