JieweiWei / googletest

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

Not compiled by AIX xlc v.11.1 #454

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The error is in src/gtest-printers.cc from gtest-1.7.0.zip
"gtest-printers.cc", line 286.5: 1540-0274 (S) The name lookup for 
"PrintCharsAsStringTo" did not find a declaration.
"gtest-printers.cc", line 286.5: 1540-1292 (I) Static declarations are not 
considered for a function call if the function is not qualified.
"gtest-printers.cc", line 276.13: 1540-0700 (I) The previous message was 
produced while processing 
"testing::internal::UniversalPrintCharArray<char>(const char *, size_t, ostream 
*)".
"gtest-printers.cc", line 300.3: 1540-0700 (I) The previous message was 
produced while processing "testing::internal::UniversalPrintArray(const char *, 
size_t, ostream *)".
"gtest-printers.cc", line 286.5: 1540-0274 (S) The name lookup for 
"PrintCharsAsStringTo" did not find a declaration.
"gtest-printers.cc", line 286.5: 1540-1292 (I) Static declarations are not 
considered for a function call if the function is not qualified.
"gtest-printers.cc", line 276.13: 1540-0700 (I) The previous message was 
produced while processing 
"testing::internal::UniversalPrintCharArray<wchar_t>(const wchar_t *, size_t, 
ostream *)".
"gtest-printers.cc", line 306.3: 1540-0700 (I) The previous message was 
produced while processing "testing::internal::UniversalPrintArray(const wchar_t 
*, size_t, ostream *)".
"gtest-printers.cc", line 268.23: 1540-0274 (S) The name lookup for 
"PrintAsStringLiteralTo" did not find a declaration.
"gtest-printers.cc", line 268.23: 1540-1292 (I) Static declarations are not 
considered for a function call if the function is not qualified.
"gtest-printers.cc", line 255.13: 1540-0700 (I) The previous message was 
produced while processing "testing::internal::PrintCharsAsStringTo<char>(const 
char *, size_t, ostream *)".
"gtest-printers.cc", line 345.3: 1540-0700 (I) The previous message was 
produced while processing "testing::internal::PrintStringTo(const ::std::string 
&, ostream *)".
"gtest-printers.cc", line 268.23: 1540-0274 (S) The name lookup for 
"PrintAsStringLiteralTo" did not find a declaration.
"gtest-printers.cc", line 268.23: 1540-1292 (I) Static declarations are not 
considered for a function call if the function is not qualified.
"gtest-printers.cc", line 255.13: 1540-0700 (I) The previous message was 
produced while processing 
"testing::internal::PrintCharsAsStringTo<wchar_t>(const wchar_t *, size_t, 
ostream *)".
"gtest-printers.cc", line 357.3: 1540-0700 (I) The previous message was 
produced while processing "testing::internal::PrintWideStringTo(const 
::std::wstring &, ostream *)".

The connected issue is #350
The correcting patch attached

Original issue reported on code.google.com by vichnia...@gmail.com on 12 Feb 2014 at 11:02

Attachments:

GoogleCodeExporter commented 9 years ago
Sorry, illegal patch attached.
A new one seems to be correct.

Original comment by vichnia...@gmail.com on 12 Feb 2014 at 11:57

Attachments:

GoogleCodeExporter commented 9 years ago
It also applies for Xlc v9 on AIX 5.3 as for this date.

Original comment by 7jp...@gmail.com on 14 Nov 2014 at 12:00