On Sat, 2005-07-30 22:07:42 +0300, Jaakko Niemi <[EMAIL PROTECTED]> wrote: > On Sat, 30 Jul 2005, Christoph Hellwig wrote: > > > http://lists.debian.org/debian-devel/2005/07/msg01486.html > > > > > > for more discussion about this. So, please just ditch the > > > enum and leave #defines. > > > > No, changing headers that way is a bad idea. Fix your program to > > not assume whether constants are anonymous unions or defines. > > What is the enum needed for?
enums are generally a good think and underestimated. They for example allow the compiler to check switch() statements if all possible input is handled there. MfG, JBG -- Jan-Benedict Glaw [EMAIL PROTECTED] . +49-172-7608481 _ O _ "Eine Freie Meinung in einem Freien Kopf | Gegen Zensur | Gegen Krieg _ _ O fuer einen Freien Staat voll Freier Bürger" | im Internet! | im Irak! O O O ret = do_actions((curr | FREE_SPEECH) & ~(NEW_COPYRIGHT_LAW | DRM | TCPA));
signature.asc
Description: Digital signature