delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/11/14/17:45:02.1

From: JMK <jeffrey DOT m DOT klopotic AT lmco DOT nospam DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: whats wrong with my compiler
Date: Thu, 14 Nov 2002 14:21:42 -0800
Organization: Lockheed Martin Corporation
Lines: 10
Message-ID: <3DD421F6.ED10A56A@lmco.nospam.com>
References: <20021114205846 DOT 96956 DOT qmail AT web13005 DOT mail DOT yahoo DOT com>
NNTP-Posting-Host: 129.197.49.226
Mime-Version: 1.0
X-Mailer: Mozilla 4.61 [en] (WinNT; U)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

There's something wrong with the compiler setup.

Unless redefining output functions, there should be no reason to scope a
global function like cout in so simple a program.

I've witnessed a difference on certain other compilers between
iostream.h and iostream, but gcc 2.95.3 didn't have it.

Jeff

- Raw text -


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