Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Reply-To: cygwin 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 Subject: Re: Bug? on mkstemp References: <002901c05f4b$90efe280$8b0c4ea8 AT kepri DOT re DOT kr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit "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 , nor in 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