Summary: | ASTERISK-16750: ICC compilation bug | ||
Reporter: | mich (mich) | Labels: | |
Date Opened: | 2010-09-29 10:37:35 | Date Closed: | 2010-09-29 10:55:00 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Applications/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) output1.rtf ( 1) output2.rtf | |
Description: | While trying to compile by icc got this error: http.c(125): error: an initializer cannot be specified for an indirect flexible array member { AST_HTTP_UNKNOWN, "UNKNOWN" }, ^ http.c(126): error: an initializer cannot be specified for an indirect flexible array member { AST_HTTP_GET, "GET" }, ... It's strange that gcc not showing error, http://bytes.com/topic/c/answers/614133-enum-within-structure | ||
Comments: | By: mich (mich) 2010-09-29 10:43:48 Also attached full output of make Intel compiler 11.1.073 (last available and fully compatible with gcc 4) By: Jason Parker (jparker) 2010-09-29 10:53:42 ICC isn't compatible with GCC to the level required to build Asterisk. This is a feature request (and a difficult one, at that), at best. Closing, per bug submission guidelines. By: Jason Parker (jparker) 2010-09-29 10:55:00 Also, I'd just like to add that ICC compilation would not give any improvement over GCC. Intel has made claims of such, but they were done extremely inaccurately, with an obvious bias. |