delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/12/06/12:27:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3A2E1C16.D850CECC@redhat.com>
Date: Wed, 06 Dec 2000 11:59:34 +0100
From: Corinna Vinschen <vinschen AT redhat DOT com>
Reply-To: cygwin <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin <cygwin AT cygwin DOT com>
Subject: Re: Bug? on mkstemp
References: <002901c05f4b$90efe280$8b0c4ea8 AT kepri DOT re DOT kr>

"Jong B. Lee" wrote:
> 
> I don't know why the parse error occurs when compile the following file.
> 
>    gcc -c conf.c  is working well.
> 
> But,
> 
>    c++ -c conf.C fails :
> 
>    conf.C  :  parse error before 'templete'
> 
> Is this a BUG ?

Nope. It's a feature. "template" is a reserved word in C++.

> By the way, I couldn't find where mkstemp is declared.
> Could not find it in <stdio.h>, nor in <stdlib.h>

You're right. `mktemp' and `mkstemp' are exported by cygwin1.dll
but they are not declared in stdlib.h.

Thanks for the hint,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.
mailto:vinschen AT redhat DOT com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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