Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ Path: not-for-mail From: "Hans Horn" Newsgroups: gmane.os.cygwin Subject: Re: gcc -gcoff 2nd try Date: Fri, 30 Aug 2002 09:36:01 -0700 Lines: 37 Message-ID: References: <4 DOT 3 DOT 1 DOT 2 DOT 20020828102235 DOT 022a5c80 AT pop DOT rcn DOT com> NNTP-Posting-Host: dsl-64-130-141-77.telocity.com X-Trace: main.gmane.org 1030725274 23543 64.130.141.77 (30 Aug 2002 16:34:34 GMT) X-Complaints-To: usenet AT main DOT gmane DOT org NNTP-Posting-Date: Fri, 30 Aug 2002 16:34:34 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Guy Harrison wrote : >> On Wed, 28 Aug 2002 07:47:42 -0700, "Hans Horn" wrote: >>>...my gcc version is 2.95.3-5. >> Ditto. You may need to post tst.c - the symbol C_EFCN did not crop up in >> my trivial "hello world" test app (ie compiled ok). Guy, List, here's tst.c (several flavors of it, that is): // ************ version 1 *********************** // foreward decl of foo() // gcc -gcoff barfs with "C_EFCN symbol out of scope" void foo(); int main(int argc, char **argv) { foo(); // gcc -gcoff does not barf when this call is commented out return 0; } void foo() {} // ************ version 2 *********************** // gcc -gcoff behaves void foo() {} int main(int argc, char **argv) { foo(); return 0; } Note: there's no change in behaviour when I rename tst.c into tst.cpp! H. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/