Sorry for my ignorance and noise, but I still want to ask what problems
could occur if I use u_char instead of u_int to denote bit fields.
Any answer is appreciated.
(Of course I would like to have a header file working across all my
Windows compilers. Others may appreciate it too.)
Best regards,
Wu Yongwei
--- Original Message from Christopher Faylor ---
Danny's suggestion is correct. The rest of the header files which
accomodate this are probably using __attribute__((packed)) . The
argument that the header works ok for you on MSVC is a non-issue for cygwin.
cgf