2010/11/14, cryptix <cryp...@riseup.net>: > Hi, > > On 13.11.2010, at 22:53, Damian Okrasa wrote: >> I removed the wchar_t completely, ... > > great! After a small adaption it seems to work flawlessly. > In the form you posted, my compiler doesn't like the first constant B0. > > st.c:65:8: error: expected identifier before numeric constant > > Once I change 'B0' (to lets say 'BA') it compiles fine, though. > I guess hardcoding the bit-masks could be one way to put the new enum aside > altogether.
B0 is defined to 0 somewhere (bits/termios.h?) so it becomes enum { 0=1, ... };