Hi!
> 
> 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?

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
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