--- Additional Comments From pluto at pld-linux dot org 2005-03-11 14:19
---
(In reply to comment #2)
> Note in C++ they will be constants though but not in C. C has different rules
for constant expressions
> than C++.
Thanks for explain. I have one more basic question.
Why the non-st
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-11
14:06 ---
Note in C++ they will be constants though but not in C. C has different rules
for constant expressions
than C++.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20426
--- Additional Comments From falk at debian dot org 2005-03-11 13:28
---
(In reply to comment #0)
> # test.c
> static const unsigned major = 0;
> static const unsigned minor = 9;
> static const unsigned build = 1;
> const unsigned version = (major << 24) | (minor << 16) | build;
>
> # g