This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/32588] Bogus "error: initializer element is not constant"



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]