Article View: gnu.gcc.bug
Article #382Problems Running gnu C++ 2.0 on dec3100 station
From: djanecek%decserv2
Date: Tue, 14 Apr 1992 02:47
Date: Tue, 14 Apr 1992 02:47
27 lines
1718 bytes
1718 bytes
Hi! I am running Ultrix 4.2 version on DEC3100 station. I think the administrator installed the 2.1 gnu CC version correctly. I use the c++ macro to compile mi code. I have a big problem with end of file. I have to put sometimes few lines, spaces, or comments to make it work. After that it compiles, strange right (space sensitive compiler). This is an error which I get: resource.h:3: parse error at null character I am not a C++ expert but there were some more problems (am using the Borland's C++) 1. For class with internal variable array it would not initialize array (at all) unless I have defined an empty constructor 2. The iostreams are not very robust. When I have red the '#' character into the int space the program had crashed. I think it should set error bit flag on and ignore further reading! 3. When I was using inside the case statement #ifdef the compiler complains to error. 4. Doesn't let overload the Memory() and Memory( char* ) constructor in Memory class. Could not specified in the parent class constructor which one to use. Contrller():Memory(char fileName) Is this feature supported. 5. I tried to read hex numbers using cin >> hex >> variable. I do the stuff in Borland's C++ and it is just fine. Maybe this is not implemented yet. __DAVID
Technical Details
Message-ID:
<9204140247.AA27674@decserv2>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dns1.eecs.wsu.edu!djanecek%decserv2Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!dns1.eecs.wsu.edu!djanecek%decserv2 From: djanecek%decserv2@dns1.eecs.wsu.edu Subject: Problems Running gnu C++ 2.0 on dec3100 station Message-ID: <9204140247.AA27674@decserv2> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Tue, 14 Apr 1992 02:47:55 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 28