OpenSolaris

Printable Version Enter a New Search
Bug ID 6753921
Synopsis cw doesn't support the SS12 option "-features=zla"
State 10-Fix Delivered (Fix available in build)
Category:Subcategory consolidation:os-net-tools
Keywords
Responsible Engineer Mark Logan
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_101
Fixed In snv_101
Release Fixed solaris_nevada(snv_101)
Related Bugs
Submit Date 29-September-2008
Last Update Date 22-October-2008
Description
We are porting some Intel code to Solaris that uses zero-length arrays in structs to define packet headers. The data field in the struct is defined as "data[0]" to indicate a variable length data field. SS12 has a command line argument "-features=zla" that allows this. The GNU CC compiler just allows zero-length arrays. But cw generates an error. cw should support all new SS12 features, but this one is important for us.

The project is PSARC/2007/601 Intel AMT. Intel wrote the code for Linux using the GNU C++ compiler. We are porting it to Solaris, so we have to support both GNU and SS12.

I have a fix for cw that is working for us. I would be glad to work on this bug. It is necessary for our project that this change be put into cw. Thanks, Mark.
Work Around
N/A
Comments
N/A