[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#402971: marked as done (/usr/include/c++/4.1.2/cstdlib: Error on cstdlib)



Your message dated Fri, 18 May 2007 13:44:19 +0200
with message-id <17997.37267.279071.38469@gargle.gargle.HOWL>
and subject line Bug#402971: /usr/include/c++/4.1.2/cstdlib: Error on cstdlib
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: libstdc++6-4.1-dev
Version: 4.1.1-19
Severity: important
File: /usr/include/c++/4.1.2/cstdlib

When trying to compile a code as simple as

#include <iostream>
int main(void)
{
	    std::cout << "Hello!" << std::endl;
	        return 0;
}

I get the following compile error:

$ g++ hello.cpp
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib:135:
error: ‘::system’ has not been declared

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages libstdc++6-4.1-dev depends on:
ii  g++-4.1                      4.1.1-19    The GNU C++ compiler
ii  gcc-4.1-base                 4.1.1-19    The GNU Compiler Collection (base 
ii  libc6-dev                    2.3.6.ds1-8 GNU C Library: Development Librari
ii  libstdc++6                   4.1.1-19    The GNU Standard C++ Library v3

libstdc++6-4.1-dev recommends no packages.

-- no debconf information


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

Rafael C. Almeida writes:
> Package: libstdc++6-4.1-dev
> Version: 4.1.1-19
> Severity: important
> File: /usr/include/c++/4.1.2/cstdlib
> 
> When trying to compile a code as simple as
> 
> #include <iostream>
> int main(void)
> {
> 	    std::cout << "Hello!" << std::endl;
> 	        return 0;
> }
> 
> I get the following compile error:
> 
> $ g++ hello.cpp
> /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/cstdlib:135:
> error: ,Ab€˜::system,Ab€™ has not been declared

--- End Message ---

Reply to: