]> git.ozlabs.org Git - ccan/commit
configurator: more robust test for HAVE_NESTED_FUNCTIONS
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 2 Mar 2011 00:15:51 +0000 (10:45 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 2 Mar 2011 00:15:51 +0000 (10:45 +1030)
commit975dff721336d8902d9ae737c360865205100451
treefed3f1f6f5945ffa89e3fc7e92a51445d07b5f6f
parent39dc9e4612339af669e934c47500605f826a2bb4
configurator: more robust test for HAVE_NESTED_FUNCTIONS

Thanks to Andreas Schlick, we have a nicer test for when gcc warns about
trampolines (gcc 4.6's -Wtrampolines).  This works at any optimization level,
and means when that warning is enabled we recognize that we shouldn't allow
nested functions.
tools/configurator/configurator.c