This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: Proof-of-concept for dynamic format checking


Florian Weimer <fw@deneb.enyo.de> writes:

> * Ian Lance Taylor:
> 
> > I haven't tried to flesh this out any further.  I'd be curious to hear
> > how people react to it.
> 
> Can't we just use some inline function written in plain C to check the
> arguments and execute it at compile time using constant folding etc.?

I don't really see how that could work and still do what we want it to
do.  Could you give an example of what it would look like?

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]