You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2006/08/07 20:42:15 UTC
[jira] Created: (STDCXX-267) [Compaq C++] cv-qualifiers of function
parameters mangled into function type
[Compaq C++] cv-qualifiers of function parameters mangled into function type
----------------------------------------------------------------------------
Key: STDCXX-267
URL: http://issues.apache.org/jira/browse/STDCXX-267
Project: C++ Standard Library
Issue Type: Bug
Components: External
Environment: Compaq/HP C++/Tru64 UNIX
Reporter: Martin Sebor
The program below fails to link with Compaq/HP C++:
$ cat ~/tmp/t.cpp && cxx -V -c ~/tmp/t.cpp -o foo.o && cxx -DMAIN -c ~/tmp/t.cpp -o t.o && cxx t.o foo.o || nm -mangled_name_only foo.o t.o | grep foo
void foo (int);
#ifdef MAIN
int main () { foo (0); }
#else
void foo (const int) { }
#endif
Compaq C++ V6.5-038 for Compaq Tru64 UNIX V5.1B (Rev. 2650)
Compiler Driver V6.5-038 (cxx) cxx Driver
ld:
Unresolved:
foo(int)
foo.o:
foo__XCi | 0000000000000000 | T | 0000000000000008
foo__Xi | 0000000000000000 | U | 0000000000000008
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira