okere-prince / googlemock

Automatically exported from code.google.com/p/googlemock
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

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

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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