[asterisk-bugs] [Asterisk 0018073]: ICC compilation bug

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 29 10:53:42 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:53 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
====================================================================== 

---------------------------------------------------------------------- 
 (0127501) qwell (administrator) - 2010-09-29 10:53
 https://issues.asterisk.org/view.php?id=18073#c127501 
---------------------------------------------------------------------- 
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. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-29 10:53 qwell          Note Added: 0127501                          
2010-09-29 10:53 qwell          Status                   new => resolved     
2010-09-29 10:53 qwell          Resolution               open => won't fix   
2010-09-29 10:53 qwell          Assigned To               => qwell           
2010-09-29 10:53 qwell          Status                   resolved => closed  
======================================================================




More information about the asterisk-bugs mailing list