[asterisk-bugs] [Asterisk 0018073]: ICC compilation bug
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Sep 29 10:55:00 CDT 2010
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=18073
======================================================================
Reported By: mich
Assigned To: qwell
======================================================================
Project: Asterisk
Issue ID: 18073
Category: Applications/General
Reproducibility: have not tried
Severity: major
Priority: normal
Status: closed
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: won't fix
Fixed in Version:
======================================================================
Date Submitted: 2010-09-29 10:37 CDT
Last Modified: 2010-09-29 10:55 CDT
======================================================================
Summary: ICC compilation bug
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
======================================================================
----------------------------------------------------------------------
(0127502) qwell (administrator) - 2010-09-29 10:55
https://issues.asterisk.org/view.php?id=18073#c127502
----------------------------------------------------------------------
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.
Issue History
Date Modified Username Field Change
======================================================================
2010-09-29 10:55 qwell Note Added: 0127502
======================================================================
More information about the asterisk-bugs
mailing list