X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_40,SARE_HELO_EQ_CUST,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: David Subject: Re: Cygwin c compiler and c99 Date: Sun, 31 Oct 2010 15:03:31 +0100 Lines: 9 Message-ID: References: <4CCD72FF DOT 1000901 AT aol DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; da; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 In-Reply-To: <4CCD72FF.1000901@aol.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Your result is right but I get $ gcc -O -Wall -pedantic -std=c99 testC.c testC.c: In function 'main': testC.c:15: error: 'bool' undeclared (first use in this function) testC.c:15: error: (Each undeclared identifier is reported only once testC.c:15: error: for each function it appears in.) testC.c:15: error: expected ';' before 'f' testC.c:17: error: 'f' undeclared (first use in this function) -- 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