Summary: | ASTERISK-19419: Asterisk does not compile under dev mode with gcc 4.6.3 | ||
Reporter: | Kinsey Moore (kmoore) | Labels: | |
Date Opened: | 2012-02-21 11:38:11.000-0600 | Date Closed: | 2012-02-21 14:30:19.000-0600 |
Priority: | Minor | Regression? | |
Status: | Closed/Complete | Components: | |
Versions: | SVN | Frequency of Occurrence | Constant |
Related Issues: | |||
Environment: | Attachments: | ( 0) warningsbegone.diff | |
Description: | 4.6.3 is not yet released, but here are the issues it brings up: res_monitor.c: In function 'start_monitor_exec': res_monitor.c:696:22: warning: 'chan_cdr' may be used uninitialized in this function [-Wuninitialized] framehook.c: In function 'ast_framehook_attach': framehook.c:112:28: warning: 'fh_list' may be used uninitialized in this function [-Wuninitialized] channel.c: In function 'ast_activate_generator': channel.c:2942:32: warning: 'generatordata' may be used uninitialized in this function [-Wuninitialized] | ||
Comments: | By: Terry Wilson (twilson) 2012-02-21 14:06:39.252-0600 Kinsey, could you test this to see if it works? My gcc 4.6.3 build failed. :-p By: Kinsey Moore (kmoore) 2012-02-21 14:20:10.353-0600 Looks good to me. No warnings/errors on compiling in dev mode. |