[asterisk-bugs] [JIRA] Created: (ASTERISK-20399) Compilation on some systems requires the -fnested-functions flag

David M. Lee (JIRA) noreply at issues.asterisk.org
Mon Sep 10 09:59:07 CDT 2012


Compilation on some systems requires the -fnested-functions flag
----------------------------------------------------------------

                 Key: ASTERISK-20399
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20399
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Core/BuildSystem
    Affects Versions: 11.0.0-beta1
         Environment: Compiling on OS X
            Reporter: David M. Lee
            Severity: Minor


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list