This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/30356] New: library function error
- From: "ryan dot mccoskrie at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jan 2007 00:19:59 -0000
- Subject: [Bug c++/30356] New: library function error
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
when compiling a program which uses the file iostream gcc exits due to invalid
references.
an example:
#include <iostream>
void main()
{
std::cout << "This won't work \n";
}
Will result in:
/tmp/ccd16f9g.o(text + 0x35): In function
'__static_initionalization_and_destruction_0(int, int)': undefined reference to
'std:ios__base:std:Init::Init[in charge]()'
followed by others of simmiler content.
This bug was found on a pentium 4 i686 machine running freespire linux 1.0.13
--
Summary: library function error
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Severity: blocker
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ryan dot mccoskrie at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30356