Vincent Lefevre <[EMAIL PROTECTED]> writes:

| > Bruce Lilly <[EMAIL PROTECTED]> writes:
| > > static const unsigned char AAA = 0x1U;
| > > static const unsigned char BBB = 0x2U;
| > 
| > Again, C does not work the way you think.  These are not constants.
| 
| But if they are never modified, they evaluate to constants, right?

No.

| The fact that they are not considered as constant expressions,
| is it due to the fact that the environment is allowed to modify
| them?

Language restriction -- a difference from C++.

-- Gaby

Reply via email to