bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Option to not use inline


From: Shawn W.
Subject: Re: Option to not use inline
Date: Wed, 9 May 2007 11:20:15 -0700


On May 9, 2007, at 10:24 AM, Bruno Haible wrote:

Shawn W. wrote:
gperf needs a way to turn off automatically using the inline keyword
with the lookup function it generates.

Which problems do you have with it? gperf uses the 'inline' keyword only
when it knows that it can.

Please base your report on the newest release (gperf-3.0.3, as of today).


I'm calling a gperf-generated lookup function from multiple different source files. Inlining doesn't work with that setup. (Making the hash function inline is no problem, since it's static) so it seems kind of pointless to have.

Another issue:

The lookup function never checks to make sure it's not getting passed a null pointer.


--
Shawn W.
address@hidden







reply via email to

[Prev in Thread] Current Thread [Next in Thread]