This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/30356] New: library function error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]