cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/16/03:33:33

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: cannot include <vector.h>
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
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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<vector>
> // alt.:
> // #include<vector.h>
> 
> 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
<vector.h>?  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     |
---------------------------------------------------------------------

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019