Thread View: gnu.g++.lib.bug
1 messages
1 total messages
Started by ngo%arginine
Tue, 16 Jan 1990 17:37
values.h on Sun 4/110
Author: ngo%arginine
Date: Tue, 16 Jan 1990 17:37
Date: Tue, 16 Jan 1990 17:37
29 lines
1060 bytes
1060 bytes
Problem: cout << MINLONG gives garbage.
Machine: Sun 4/110
OS: 4.0.1
GNU versions: g++, libg++ 1.36.1
Transcript follows.
===========================================================================
ngo@arginine [36] cat hello.cc
#include <stream.h>
#include <values.h>
main()
{
cout << "Hello, world\n";
cout << "MINLONG = " << MINLONG << "\n";
cout << "MAXLONG = " << MAXLONG << "\n";
}
ngo@arginine [37] g++ -o hello hello.cc
ngo@arginine [38] ./hello
Hello, world
MINLONG = -./,),(-*,(
MAXLONG = 2147483647
ngo@arginine [39] g++ -v
gcc version 1.36.1 (based on GCC 1.36)
ngo@arginine [40]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads