You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Liviu Nicoara (JIRA)" <ji...@apache.org> on 2006/01/16 19:33:20 UTC
[jira] Created: (STDCXX-119) vtable related unsats in icl 8.1
threaded optimized builds on win 2000
vtable related unsats in icl 8.1 threaded optimized builds on win 2000
----------------------------------------------------------------------
Key: STDCXX-119
URL: http://issues.apache.org/jira/browse/STDCXX-119
Project: STDCXX
Type: Bug
Components: 27. Input/Output
Versions: 4.1.2
Environment: $ icl -help 2>&1 | head -n 3
Intel(R) C++ Compiler for 32-bit applications, Version 8.1 Build 20050201Z Package ID: w_cc_pc_8.1.025
Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
Windows 2000 Professional SP2
Reporter: Liviu Nicoara
(Incident e-mail at: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200601.mbox/raw/%3c43BDBF53.4050008@roguewave.com%3e/)
The following test case fails to link:
$ cat t.cpp
#include <sstream>
struct A : public std::iostream
{
A () : std::iostream (0) { }
};
#include <strstream>
int main ()
{
std::stringstream ss;
ss << int (0);
return 0;
}
and yields:
icl -D_RWCONFIG=12d -I.\..\..\..\../include -I.\..\..\..\../include/ansi -I.\..\..\..\.. -I.\..\..\..\.. -I.. -I. -nologo -GX -MD -O2 -c ..\t.cpp
t.cpp
Microsoft (R) Program Maintenance Utility Version 7.10.3077
Copyright (C) Microsoft Corporation. All rights reserved.
link -nologo /NODEFAULTLIB:msvcprt /LIBPATH:.\..\..\..\..\lib /OUT:t.exe t.obj tlt12d.lib ftp12d.lib thread12d.lib itc12d.lib functor_list12d.lib internet12d.lib functor12d.lib pointer12d.lib sync12d.lib threxcept12d.lib trace12d.lib network12d.lib ws2_32.lib tls12d.lib std12d.lib user32.lib
t.obj : error LNK2019: unresolved external symbol "const
std::basic_iostream<char,struct std::char_traits<char> >::`vftable'"
(??_7?$basic_iostream@DU?$char_traits@D@std@@@std@@6B@) referenced in
function _main
t.obj : error LNK2019: unresolved external symbol "const
std::basic_iostream<char,struct std::char_traits<char> >::`vbtable'{for
`std::basic_istream<char,struct std::char_traits<char> >'}"
(??_8?$basic_iostream@DU?$char_traits@D@std@@@std@@7B?$basic_istream@DU?$char_traits@D@std@@@1@@)
referenced in function _main
t.obj : error LNK2019: unresolved external symbol "const
std::basic_iostream<char,struct std::char_traits<char> >::`vbtable'{for
`std::basic_ostream<char,struct std::char_traits<char> >'}"
(??_8?$basic_iostream@DU?$char_traits@D@std@@@std@@7B?$basic_ostream@DU?$char_traits@D@std@@@1@@)
referenced in function _main
t.exe : fatal error LNK1120: 3 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
--
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
[jira] Updated: (STDCXX-119) [Intel C++ 8.1/Windows 2000] vtable
related unsats in threaded optimized builds
Posted by "Martin Sebor (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/STDCXX-119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-119:
--------------------------------
Summary: [Intel C++ 8.1/Windows 2000] vtable related unsats in threaded optimized builds (was: vtable related unsats in icl 8.1 threaded optimized builds on win 2000)
> [Intel C++ 8.1/Windows 2000] vtable related unsats in threaded optimized builds
> -------------------------------------------------------------------------------
>
> Key: STDCXX-119
> URL: https://issues.apache.org/jira/browse/STDCXX-119
> Project: C++ Standard Library
> Issue Type: Bug
> Components: 27. Input/Output
> Affects Versions: 4.1.2
> Environment: $ icl -help 2>&1 | head -n 3
> Intel(R) C++ Compiler for 32-bit applications, Version 8.1 Build 20050201Z Package ID: w_cc_pc_8.1.025
> Copyright (C) 1985-2005 Intel Corporation. All rights reserved.
> Windows 2000 Professional SP2
> Reporter: Liviu Nicoara
>
> (Incident e-mail at: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200601.mbox/raw/%3c43BDBF53.4050008@roguewave.com%3e/)
> The following test case fails to link:
> $ cat t.cpp
> #include <sstream>
> struct A : public std::iostream
> {
> A () : std::iostream (0) { }
> };
> #include <strstream>
> int main ()
> {
> std::stringstream ss;
> ss << int (0);
> return 0;
> }
> and yields:
> icl -D_RWCONFIG=12d -I.\..\..\..\../include -I.\..\..\..\../include/ansi -I.\..\..\..\.. -I.\..\..\..\.. -I.. -I. -nologo -GX -MD -O2 -c ..\t.cpp
> t.cpp
> Microsoft (R) Program Maintenance Utility Version 7.10.3077
> Copyright (C) Microsoft Corporation. All rights reserved.
> link -nologo /NODEFAULTLIB:msvcprt /LIBPATH:.\..\..\..\..\lib /OUT:t.exe t.obj tlt12d.lib ftp12d.lib thread12d.lib itc12d.lib functor_list12d.lib internet12d.lib functor12d.lib pointer12d.lib sync12d.lib threxcept12d.lib trace12d.lib network12d.lib ws2_32.lib tls12d.lib std12d.lib user32.lib
> t.obj : error LNK2019: unresolved external symbol "const
> std::basic_iostream<char,struct std::char_traits<char> >::`vftable'"
> (??_7?$basic_iostream@DU?$char_traits@D@std@@@std@@6B@) referenced in
> function _main
> t.obj : error LNK2019: unresolved external symbol "const
> std::basic_iostream<char,struct std::char_traits<char> >::`vbtable'{for
> `std::basic_istream<char,struct std::char_traits<char> >'}"
> (??_8?$basic_iostream@DU?$char_traits@D@std@@@std@@7B?$basic_istream@DU?$char_traits@D@std@@@1@@)
> referenced in function _main
> t.obj : error LNK2019: unresolved external symbol "const
> std::basic_iostream<char,struct std::char_traits<char> >::`vbtable'{for
> `std::basic_ostream<char,struct std::char_traits<char> >'}"
> (??_8?$basic_iostream@DU?$char_traits@D@std@@@std@@7B?$basic_ostream@DU?$char_traits@D@std@@@1@@)
> referenced in function _main
> t.exe : fatal error LNK1120: 3 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.