Thread View: gnu.gcc.bug
1 messages
1 total messages
Started by Alberto Santini
Wed, 17 Jan 1996 00:00
abit a bug in c++
Author: Alberto Santini
Date: Wed, 17 Jan 1996 00:00
Date: Wed, 17 Jan 1996 00:00
38 lines
1451 bytes
1451 bytes
Hello,
I send you an example of C++ code. I think it is a bug.
I use GNU CC release 2.7.2 on OS/2 3.0 (WARP - FIX XR_W010)
with the porting EMX release 0.9b FIX 0.1.
I compile test1.cc on my 486/25MHz with 8Mb in 1.16 minutes
with the command line
gcc -c test1.cc
--------------------------- test1.cc -----------------------------------
#include <map.h>
int main() {
map<int, char, less<int> > m1;
}
------------------------------------------------------------------------
While the command
gcc -c bug3.cc
is endless; the compiling command doesn't return to the prompt and
the disk works every time. I let GCC working for 1 hour and it didn't
return.
--------------------------- bug3.cc ------------------------------------
#include <map.h>
int main() {
map<int, int, less<int> > m1;
map<char, int, less<char> > m2;
}
------------------------------------------------------------------------
Thanks in advance,
Alberto ( alberto@prix3.fis.unipr.it )
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