This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32588] Bogus "error: initializer element is not constant"
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jul 2007 17:32:19 -0000
- Subject: [Bug c/32588] Bogus "error: initializer element is not constant"
- References: <bug-32588-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-02 17:32 -------
Actually (AVRational) {25,1} is a compound literal but not a constant.
What options are you using? It is a GCC extension this is a constant really.
Now we do error out for -std=gnu99.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32588