|
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.
|