calvert1991/googlemock

MockSpec declaration in gmock-generated-function-mockers.h

Closed this issue · 1 comments


Can you please remove the MockSpec forward declaration in 
include\gmock\gmock-generated-function-mockers.h
or at least make it conditional for old MSVS compilers.

namespace testing {

template <typename F>
class MockSpec;

From comments bellow I see this was done for old MSVS compilers.

- MS VS2008 doesn't complain if this declaration is omitted.
- Parasoft C++test compiler we are using complains and refuses to compile
the tests with forward declaration in place.



What steps will reproduce the problem?
1.
2.
3.

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


Which version of Google Mock are you using? On what operating system?
1.4.0, MS Windows, MS VS2008, Parasoft C++test

Please provide any additional information below.


Original issue reported on code.google.com by bojan.bl...@halcom.si on 11 Apr 2010 at 3:49

This declaration has been removed in SVN revision in November; you gan get the 
latest revision from there. In 
about a week we will also be putting out release 1.5 , which will have that 
change.

Original comment by vladlosev on 12 Apr 2010 at 3:54

  • Changed state: Fixed
  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect