Hi Mathias,

> Yes, even published constant groups were allowed to be changed,

didn't know that ....

> but IMHO
> the problems caused by that (or not caused by that) are the same as in
> case of enums. We treated them differently, though there is no technical
> reason. No language binding today would have a technical problem with an
> extended enum as none of them really does boundary checks and breaks if
> a "new" enum value is found (even C++).

In the C++ language binding, a "Foo_MAKE_FIXED_SIZE = SAL_MAX_ENUM" is
generated for a enum type Foo. IIRC, this was introduced a few years
ago, because of anticipated or real problems with the enum size ...

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [email protected] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to