[asterisk-bugs] [JIRA] (ASTERISK-24753) warning happens when compiling with don't optimize

Private Name (JIRA) noreply at issues.asterisk.org
Mon Feb 2 16:21:34 CST 2015


Private Name created ASTERISK-24753:
---------------------------------------

             Summary: warning happens when compiling with don't optimize
                 Key: ASTERISK-24753
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24753
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/General
    Affects Versions: 13.1.1
         Environment: Fedora 20
            Reporter: Private Name
            Severity: Minor


This warning gets printed hundreds of times when I chose "don't optimize". I think the flag "FORTIFY_SOURCE" should not be on if we are not optimizing
            from func_sorcery.c:33:
/usr/include/features.h:327:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
   [LD] func_sorcery.o -> func_sorcery.so
   [CC] func_shell



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list