Re: Facing problem with bit fields, when compiling with GCC.

2006-04-05 Thread Larry Hall (Cygwin X)
Devendra Mulakkayala wrote: Hello, ISSUE: Facing problem with bit fields, when i am compiling my code with GCC. It was previously compiled with diab compiler and was working fine. In our code Union definition is as follows..., union { unsigned_8 indicator; struct { unsigned_8 unu

Facing problem with bit fields, when compiling with GCC.

2006-04-05 Thread Devendra Mulakkayala
Hello, ISSUE: Facing problem with bit fields, when i am compiling my code with GCC. It was previously compiled with diab compiler and was working fine. In our code Union definition is as follows..., union { unsigned_8 indicator; struct { unsigned_8 unused : 6; unsigned_8 speed