www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/21/20:32:05

From: "Martin Ambuhl" <mambuhl AT tiac DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: <iomanip.h>, a bug or my idiocy?
Date: Thu, 21 May 1998 20:26:03 -0400
Organization: Who wants to know?
Lines: 43
Message-ID: <6k2gdn$b75@news-central.tiac.net>
References: <3564FDA0 DOT 2375825D AT postino DOT up DOT ac DOT za>
NNTP-Posting-Host: p2.tc4.newyo.ny.tiac.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jan Gutter wrote in message <3564FDA0 DOT 2375825D AT postino DOT up DOT ac DOT za>...
:When I try to compile a simple program like this:
=========
Since I get no warnings or errors compiling this program
with gxx -Wall -W -ansi -pedantic, I suspect you have
failed to install djgpp properly.
=========:
:#include <iostream.h>
:#include <iomanip.h>
:int main()
:{
:  cout  << setw(3) << 1;
:  return 0;
:}
:
:I get a compiler error message in <iomanip.h>.
:(one of the overloaded operators was defined like "operator>> <>(")
:After I deleted the offending "<>" I got a linker error complaining that
:certain
:operators were not defined.
:
:Using a previous version of DJGPP (gcc ver 2.7.something) it compiled
:and linked
:OK, but it gave a SIGSEV at the same line when run.
:
:Is it something I overlooked or bungled up during installation?
:
:These are the files I used to install my current version of djgpp:
:
:bnu281b.zip gcc281b.zip lgpp280b.zip mak3761b.zip gpp281b.zip
:djdev201.zip faq210b.zip rhide14b.zip bnu281b.zip bsn125b.zip
:flx254b.zip txi390b.zip csdpmi4b.zip
:
:--
:// Jan Gutter
:// gutter AT ilink DOT co DOT za
://
:// Share and enjoy!
:
:


- Raw text -


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