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

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


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18073 
====================================================================== 
Reported By:                mich
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18073
Category:                   Applications/General
Reproducibility:            have not tried
Severity:                   major
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2010-09-29 10:37 CDT
Last Modified:              2010-09-29 10:37 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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-29 10:37 mich           New Issue                                    
2010-09-29 10:37 mich           Asterisk Version          => SVN             
2010-09-29 10:37 mich           Regression                => No              
2010-09-29 10:37 mich           SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list