MrazqRuby / googlemock

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

need to remove SkipPrefix() #87

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
gtest defines SkipPrefix() as a static function in gtest.cc.  gmock
defines it too in gmock-matchers.cc.  Usually this is not a problem.

However, when fuse_gmock.py is used to fuse all *.cc files together,
the two definitions collide.

We should remove the latter.  Perhaps move the function to
gtest-port.h such that it can be reused in gmock.

Original issue reported on code.google.com by zhanyong...@gmail.com on 10 Nov 2009 at 1:02

GoogleCodeExporter commented 9 years ago
Fixed in revision 244.

Original comment by vladlosev on 3 Dec 2009 at 7:10