asterisk/pbx
Kevin P. Fleming 8d5deb312b Merged revisions 157859 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r157859 | kpfleming | 2008-11-19 15:34:47 -0600 (Wed, 19 Nov 2008) | 7 lines
  
  the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems.
  
  with this build system change, if (and only if) --enable-dev-mode was used and DONT_OPTIMIZE is turned on, when a source file is compiled it will actually be preprocessed (into a .i or .ii file), then compiled once with optimization (with the result sent to /dev/null) and again without optimization (but only if the first compile succeeded, of course).
  
  while making these changes, i did some cleanup work in Makefile.rules to move commonly-used combinations of flag variables into their own variables, to make the file easier to read and maintain
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157974 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-11-20 00:08:12 +00:00
..
ael/ael-test Merged revisions 141094 via svnmerge from 2008-09-04 23:31:41 +00:00
Makefile Merged revisions 157859 via svnmerge from 2008-11-20 00:08:12 +00:00
dundi-parser.c Start moving in changes from my resolve-shadow-warnings branch. Going to do 2008-08-07 00:44:55 +00:00
dundi-parser.h Merge another change from team/russell/events ... 2008-06-10 12:48:50 +00:00
pbx_ael.c This commit does two things: 2008-11-12 06:46:04 +00:00
pbx_config.c correct logic error noticed by rmudgett (thanks!) 2008-11-07 03:09:16 +00:00
pbx_dundi.c Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config 2008-11-19 19:25:14 +00:00
pbx_gtkconsole.c various minor fixes created while i worked on getting *every* Asterisk module to build on laptop in dev mode: 2008-06-29 16:19:29 +00:00
pbx_loopback.c Merged revisions 120226 via svnmerge from 2008-06-03 22:42:03 +00:00
pbx_lua.c bring over all the fixes for the warnings found by gcc 4.3.x from the 1.4 branch, and add the ones needed for all the new code here too 2008-11-02 18:52:13 +00:00
pbx_realtime.c Code wasn't ready to be merged - see -dev list discussion 2008-07-09 03:39:59 +00:00
pbx_spool.c Add additional memory debugging to several core APIs, and fix several memory 2008-10-14 22:38:06 +00:00