[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Another EPOC problem
- From: Reuben Thomas <rrt1001@...>
- Date: Tue, 16 Jan 2001 17:12:17 +0000 (GMT)
Another problem, which again has a zero-impact fix (at least, I hope so!) is
that in ldblib.c, there is the following definition:
static char key1, key2;
If this is changed to
static const char key1 = 0, key2 = 0;
then EPOC is happy (because the data is initialised and constant) and there
is no obvious overhead for any other system (except that the syntax is
slightly less nice).
It would seem sensible to declare these variables const in any case, as they
are never updated...
--
http://sc3d.org/rrt/ | RSA, n. safety in numbers