From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: cannot include Date: Wed, 15 Apr 1998 19:06:06 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 46 Message-ID: <35353D5E.716@cs.com> References: <35310D39 DOT C1A073A8 AT wupperonline DOT de> <35315AA1 DOT 553F AT cs DOT com> <3534F5AD DOT 4E95F6F7 AT wupperonline DOT de> NNTP-Posting-Host: ppp228.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Carsten Rohde wrote: > > Once again vector.h... > > I am rather shure that I installed all files correctly. > > So here are : > - the sourcecode and > - the reported errors > > *********** the source ( please try this at home ;-)************** > #include > // alt.: > // #include > > void main() > { > } With the gcc 2.8.0 that I have installed on my system, that program compiled perfectly, except for a warning about the return type of main(), which should be an integer. I don't have 2.7.2.1 around any more to test your program on (or more accurately, I don't want to uninstall 2.8.0, install 2.7.2.1, then reinstall 2.8.0; call me lazy), but I can't imagine that such a major problem would have gone unnoticed. Can you compile any other C++ programs that include C++ headers? Can you compile normal C code? i.e., does the problem occur _only_ with ? Are you absolutely certain that you are not mixing versions of gcc, for example, the 2.7.2.1 compiler (gpp2721b) with the 2.8.0 libraries (lgpp280b)? You may want to try uninstalling the C++ components of DJGPP and reinstalling them from scratch. If the compiler continues to work improperly, try posting a system report as described in chapter 6.12 of the FAQ, or using my DJVERIFY program (http://www.cs.com/fighteer/files/vrfy04a.zip) to test your installation and prepare a system report. -- --------------------------------------------------------------------- | John M. Aldrich |"Men rarely (if ever) manage to dream | | aka Fighteer I |up a god superior to themselves. Most | | mailto:fighteer AT cs DOT com |gods have the manners and morals of a | | http://www.cs.com/fighteer |spoiled child." - Lazarus Long | ---------------------------------------------------------------------