shaobozi / googletest

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

VC 2003 SP1 can not build ver1.6.0 successfully #367

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
IMPORTANT NOTE: PLEASE send issues or requests to
http://groups.google.com/group/googletestframework *instead of here*.
This issue tracker is NOT regularly monitored.

If you really need to create a new issue, please provide the information
asked for below.

What steps will reproduce the problem?
1. Use a VC 7.1 to compile and build gtest.sln
2. Then it will fail..

What is the expected output? What do you see instead?
Expecting success, but get an error of:
C:\gtest-1.6.0\test\gtest_unittest.cc(7051): error C2514: 
'testing::internal::CompileAssertTypesEqual<T1,T2>' : class has no constructors
        with
        [
            T1=char [2][3],
            T2=const testing::internal::RemoveConst<const char [2][3]>::type
        ]

If this line is commentted, then will get:
c:\gtest-1.6.0\include\gtest\gtest-printers.h(697): error C2926: '' : types 
with no linkage cannot be used as template arguments
c:\gtest-1.6.0\include\gtest\gtest-printers.h(697): error C2955: 
'testing::internal::UniversalPrinter' : use of class template requires template 
argument list
        ..\include\gtest\gtest-printers.h(606) : see declaration of 'testing::internal::UniversalPrinter'
c:\gtest-1.6.0\include\gtest\gtest-printers.h(697): error C2955: 
'testing::internal::UniversalPrinter' : use of class template requires template 
argument list
        ..\include\gtest\gtest-printers.h(606) : see declaration of 'testing::internal::UniversalPrinter'

What version of Google Test are you using? On what operating system?
1.6.0, WinXP SP3

Please provide any additional information below, such as a code snippet.

Original issue reported on code.google.com by azureelf...@gmail.com on 20 Apr 2011 at 9:51

GoogleCodeExporter commented 9 years ago

Original comment by vladlosev on 26 May 2011 at 12:26

GoogleCodeExporter commented 9 years ago
Fixed in revision 584.

Original comment by vladlosev on 13 Jun 2011 at 7:04