From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f849b,d275ffeffdf83655 X-Google-Attributes: gidf849b,public X-Google-Thread: 1108a1,d275ffeffdf83655 X-Google-Attributes: gid1108a1,public X-Google-Thread: 109fba,d275ffeffdf83655 X-Google-Attributes: gid109fba,public X-Google-Thread: 115aec,d275ffeffdf83655 X-Google-Attributes: gid115aec,public X-Google-Thread: 103376,d275ffeffdf83655 X-Google-Attributes: gid103376,public X-Google-Thread: 10a146,76126ba4351e4e94 X-Google-Attributes: gid10a146,public From: walter.mallory@gecm.com (Walter Mallory) Subject: Re: Ada vs C++ vs Java Date: 1999/01/25 Message-ID: <78ittu$sqm@gcsin3.geccs.gecm.com>#1/1 X-Deja-AN: 436876989 References: <916962713.14158.0.nnrp-01.c2decf94@news.demon.co.uk> Organization: GEC Marconi Dynamics, Inc. Newsgroups: comp.lang.ada,comp.lang.c++,comp.realtime,comp.arch.embedded,comp.object,comp.lang.java.programmer Date: 1999-01-25T00:00:00+00:00 List-Id: In article , stt@houdini.camb.inmet.com (Tucker Taft) wrote: >forsyth@caldo.demon.co.uk wrote: >An example is whether an enumeration type is allowed as a bit field. This >is not allowed by standard C, but is allowed by standard C++, >and since most C compilers these days can also operate in a C++ mode, >and this feature seems pretty harmless to allow, it is accepted >by most (but not all) C compilers. If you decide to play by >the official C rules and not use enumeration types in a bit field, >you are punished in the debugger, because it displays your values >numerically rather than using the enumeration identifiers. Actually, I've been punished in this way by certain debuggers even when I *did* use enumeration identifiers. -- Walter Mallory walter.mallory@gecm.com All opinions expressed are my own and not my employer's. --