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

Re: gcc 3.2 transition in unstable

On Mon, Jan 06, 2003 at 10:39:30PM -0500, Colin Walters wrote:
 > If you look at the definition of build-essential, it is defined so
 > that a 'Hello World!' type program will build.  And it is quite
 > reasonable for a simple 'Hello World!' type program which does not
 > use any libraries other than libstdc++ to be compiled with 2.95, and
 > still work.

#include <ostream>

namespace std
    extern ostream cout;

int main()
    std::cout << "Hello, World!\n";
    return 0;

 Try to compile that with g++ 2.95.


Reply to: