🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3434

gcc inline functions instrumentation

#3434
From: sinbad
Date: Thu, 09 Jul 2009 14:32
15 lines
1701 bytes
hi,

In gcc, how to skip doing function instrumentation for inline
functions.
meaning gcc -finstrument-functions should not be applied for inline
functions.
i need this because i am getting a "function undeclared" error for
"extern inline"
functions. The build goes fine if i remove the -finstrument-functions
option, this
means that -finstrument-functions and extern inline functions doesn't
go well with
each other, does anybody faced the same problem?

thanks
Technical Details
Message-ID: <9c49109d-6721-4046-9ef2-0ac0a8ff623e@g1g2000pra.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!g1g2000pra.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1200bcf240,28978511909630b0,start
X-Google-Attributes: gid1200bcf240,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!g1g2000pra.googlegroups.com!not-for-mail
From: sinbad <sinbad.sinbad@gmail.com>
Newsgroups: comp.unix.programmer,gnu.gcc.help
Subject: gcc inline functions instrumentation
Date: Thu, 9 Jul 2009 07:32:41 -0700 (PDT)
Organization: http://groups.google.com
Lines: 15
Message-ID: <9c49109d-6721-4046-9ef2-0ac0a8ff623e@g1g2000pra.googlegroups.com>
NNTP-Posting-Host: 122.172.34.116
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1247149961 27042 127.0.0.1 (9 Jul 2009 14:32:41 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 9 Jul 2009 14:32:41 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: g1g2000pra.googlegroups.com; posting-host=122.172.34.116; 
 posting-account=YM05VwoAAABfhqQvMhVh5BYqiwLHuZYv
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.11) 
 Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)