[Home]

Summary:ASTERISK-20399: Compilation on some systems requires the -fnested-functions flag
Reporter:David M. Lee (dlee)Labels:
Date Opened:2012-09-10 09:58:48Date Closed:2012-09-18 10:48:27
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:11.0.0-beta1 Frequency of
Occurrence
Constant
Related
Issues:
is related toASTERISK-20850 [patch]Nested functions aren't portable. Adapting RAII_VAR to use clang/llvm blocks to get the same/similar functionality.
is related toASTERISK-23666 CLONE - nested functions aren't portable
Environment:Compiling on OS XAttachments:
Description:In order to use nested functions on some versions of GCC (e.g. GCC on OS X), the {{-fnested-functions}} flag must be passed to the compiler.

The associated patch on ReviewBoard checks for this in the {{configure}} script and automagically adds it to {{CFLAGS}}, if needed.
Comments: