From: Rusty Russell Date: Wed, 2 Mar 2011 00:15:51 +0000 (+1030) Subject: configurator: more robust test for HAVE_NESTED_FUNCTIONS X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=975dff721336d8902d9ae737c360865205100451;hp=975dff721336d8902d9ae737c360865205100451;p=ccan 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. ---