stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Created: (STDCXX-267) [Compaq C++] cv-qualifiers of function parameters mangled into function type
Date Mon, 07 Aug 2006 18:42:15 GMT
[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

        

Mime
View raw message