g++ doesn't compile programs after upgrade to 4.1.1 on feisty

Bug #77559 reported by Hennadiy Brych
2
Affects Status Importance Assigned to Milestone
gcc-4.1 (Debian)
Fix Released
Unknown
gcc-4.1 (Ubuntu)
Fix Released
Undecided
Matthias Klose

Bug Description

Binary package hint: libstdc++6-4.1-dev

distribution: Ubuntu Feisty

trying to compile simple c++ program:

#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
 cout << "Hello, G!" << endl;
 return 0;
}

fails with message:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib:135: error: ‘::system’ has not been declared

Found also this bug here:
http://<email address hidden>/msg23025.html

Revision history for this message
Hennadiy Brych (superg) wrote :

After uninstalling libpthread20 and libpthread-dev problem was fixed.

Revision history for this message
Matthias Klose (doko) wrote :

closing this report; libpthread-dev is gone long ago, and not in the archives anymore.

Changed in gcc-4.1:
assignee: nobody → doko
status: Unconfirmed → Fix Released
Changed in gcc-4.1:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.