[Libreoffice] OT: make enums more typesafe
Enrico Weigelt
weigelt at metux.de
Fri Jan 28 11:18:02 PST 2011
Hi folks,
OT, but perhaps somebody might know an answer:
is there a way (w/ recent gcc) make forbid the compile fail when
enums and ints get mixed up (eg. numeric operations or assignments
from/to int) ?
thx
--
----------------------------------------------------------------------
Enrico Weigelt, metux IT service -- http://www.metux.de/
phone: +49 36207 519931 email: weigelt at metux.de
mobile: +49 151 27565287 icq: 210169427 skype: nekrad666
----------------------------------------------------------------------
Embedded-Linux / Portierung / Opensource-QM / Verteilte Systeme
----------------------------------------------------------------------
More information about the LibreOffice
mailing list