delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/28/11:50:06

From: jpmorgan AT unm DOT edu (James Paul Morgan)
Subject: Re: cout ta get me
28 Jul 1997 11:50:06 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.A41.3.96.970728105832.28208C-100000.cygnus.gnu-win32@callisto.unm.edu>
Mime-Version: 1.0
Original-To: gnu-win32 AT cygnus DOT com
In-Reply-To: <199707280951.JAA29702@rockdmz1.geis.com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

On Mon, 28 Jul 1997 david=20makepeace%plan-ih#%forwarder AT plan DOT geis DOT com wrote:

> I'm getting this from a program with cout in it:
> [SNIP]
> Otherwise I'm thinking this sounds like gcc isn't recognising the difference
> between c and c++ source (printf works fine).
>

Try using g++ as the command instead of gcc.  Otherwise, there is a flag,
I'm not sure which, that will make gcc assume c++.  The simplest method is
to just use the g++ compile command.


See ya around the Mulberry bush.

--James

:)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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