On Wednesday 28 August 2013 07:56:01 [email protected] wrote:
> > unfortunately that does not work.  this snippet from coreutils is
> > probably
> > 
> > better:
> >   AH_VERBATIM([FORTIFY_SOURCE],
> >   [/* Enable compile-time and run-time bounds-checking, and some
> >   warnings,
> >       without upsetting glibc 2.15+. */
> >    #if !defined _FORTIFY_SOURCE && defined __OPTIMIZE__ && __OPTIMIZE__
> >    # define _FORTIFY_SOURCE 2
> >    #endif
> >   ])
> 
> That wouldn't work here, as config.h is included only in a few testcases
> (in these that actually use some of the defines there).
> 
> But given that this just copies some ifdefs into config.h what about
> adding the snippet directly into compiler.h that is included from
> test.h thus ends up in all testcases?

SGTM
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to