X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_40,MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: Date: Sun, 03 Jan 2010 10:13:47 -0500 From: Claude Sylvain User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Cygwin mailing list Subject: Re: GCC, -rdynamic option is unrecognized by GCC. References: <4B40246C DOT 40903 AT gmail DOT com> In-Reply-To: <4B40246C.40903@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 Dave Korn wrote: > Cesar Strauss wrote: >> but failed with undefined references when switching to gcc 4.3.4. They >> seem to be related to some inline functions in toporouter.c. > > The meaning of "extern inline" changed, to match c99. See, for example: > > http://sourceware.org/ml/newlib/2007/msg00292.html > > and the references therein. > - Not sure if I understand how to apply the modification referred in "http://sourceware.org/ml/newlib/2007/msg00292.html". - But, I do the following: - In "toporouter.c", replaced all "inline" keywords by "_ELIDABLE_INLINE" macro (found in "/usr/include/stdio.h"). Result: This do not solve the link problem!? - In "toporouter.c", replaced all "inline" keywords by "extern inline" keywords. Result: This solve the link problem. - Is there some requirements (in a project), to be able to use "_ELIDABLE_INLINE" macro correctly? Regards Claude -- 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