michaelernst / googlemock

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

Warnings when compiling with Visual Studio 2008 #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Can compile with VS 2008

Original issue reported on code.google.com by kasaj...@gmail.com on 11 Mar 2010 at 4:52

GoogleCodeExporter commented 9 years ago
Please be specific about which version of googlemock you are using, and what 
warning
messages you are getting.

Original comment by w...@google.com on 11 Mar 2010 at 5:38

GoogleCodeExporter commented 9 years ago
I'm using the latest version of GoogleMocks, which ships with VS2005 projects.  
 The warnings have to do with 
deprecated command line arguments, but I suspect that this more than just "fix 
this one error".  This is more of a 
feature, where GoogleMocks should really support and include a VS2008 tested 
version.

Original comment by kasaj...@gmail.com on 11 Mar 2010 at 5:10

GoogleCodeExporter commented 9 years ago
We don't want to provide VS projects for multiple VS versions, as that's hard to
maintain and bloats the distribution package.

We are switching the build system to cmake soon, so the issue will become 
obsolete.

Original comment by w...@google.com on 12 Mar 2010 at 7:06

GoogleCodeExporter commented 9 years ago
I understand what you're saying.

There's another part of this that's not related to supplying a Visual Studio 
2008 project, and that's making sure 
the code compiles with 2008 without warnings.  You can make that change to the 
source code, and that's 
unrelated to whether you deliver just Visual Studio 2005 solutions or switch 
everything to cmake.

Original comment by kasaj...@gmail.com on 12 Mar 2010 at 5:46

GoogleCodeExporter commented 9 years ago
The version in the trunk is warning free when we tested it.  If you see 
warnings from
that version (not 1.4.0), please provide the complete and *exact* compiler 
messages
you see.  Thanks.

Original comment by w...@google.com on 13 Mar 2010 at 12:57

GoogleCodeExporter commented 9 years ago
Okay, I missed that subtlety.  I thought that we could log bugs against the 
current
release, not what's in the latest trunk.  So sorry.

I'll try the latest build.

Original comment by kasaj...@gmail.com on 13 Mar 2010 at 1:00