Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compiled by AIX xlc v.11.1 #454

Closed
GoogleCodeExporter opened this issue Jul 28, 2015 · 2 comments
Closed

Not compiled by AIX xlc v.11.1 #454

GoogleCodeExporter opened this issue Jul 28, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link
Contributor

GoogleCodeExporter commented Jul 28, 2015

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
Copy link
Contributor Author

GoogleCodeExporter commented Jul 28, 2015

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
Copy link
Contributor Author

GoogleCodeExporter commented Jul 28, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants