X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=exUMJviS7lHRGEvTjqg+KQWBbHGqlV7rmS9phyk2Xf1 IrRXd1gk3cSqiuFB26YvSXsLND+CMU3RVSFccx9n0x8mNsABrafzpDaPtOgZROlq TySj55iy/1m0KucKAle9dIOhPnAVjk8/NQRQFtwR81iXlkKTdGIJMZDa8eDqYBWM = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=wLPoBL95mHgrzKrhNf60FUiSGtI=; b=pk+BdibbGdBNlov/1 qtJT38HFMQnI8g1Ugmth6KHnmjBT6omJk9Hgz21MdyIjhPxpvxKtbpbVPswpWUHS 9xji01OI9xlhwQOoR6thnMUqEvms5uGTm1Pm15N51naBRCmCRR6Eez1VjLnUoqVz MWnxM9g+Srt43Exzi7tRfKNCcA= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ie0-f181.google.com X-Received: by 10.43.143.211 with SMTP id jn19mr13015340icc.0.1389674249487; Mon, 13 Jan 2014 20:37:29 -0800 (PST) Message-ID: <52D4BF0D.40704@users.sourceforge.net> Date: Mon, 13 Jan 2014 22:37:33 -0600 From: "Yaakov (Cygwin/X)" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: error: mkstemp was not declared in this scope References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit On 2014-01-13 15:32, Alex Reynolds wrote: > $ g++ -Wall -ansi -pedantic foo.cpp > foo.cpp: In function ‘int main()’: > foo.cpp:44:21: error: ‘mkstemp’ was not declared in this scope mkstemp isn't ANSI C, so don't compile with -ansi; this wouldn't work with linux gcc either. Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple