So it looks like vala should not use defines for class static const strings, I'll file a bug report.
Thanks Sam -----Original Message----- From: David Given <[EMAIL PROTECTED]> Sent: 24 June 2008 00:39 To: [email protected] Subject: Re: [Vala] gross string literals Sam Liddicott wrote: [...] > I get uneasy because in some of my cases the string could be a few > thousand characters long. C89 decrees that a compiler must support string literals of up to 509 bytes, and C99 decrees 4095 bytes --- it's probably unlikely that anyone will use Vala with anything other than gcc, though. (I used a compiler this year that would just plain crash if you tried to use string literals longer than about 2kB. However, it was quite happy with very long string *initializers*: extern char string[]; char string[] = "...long string here..."; .) -- ┌─── dg@cowlark.com ───── http://www.cowlark.com ───── │ "I have always wished for my computer to be as easy to use as my │ telephone; my wish has come true because I can no longer figure out │ how to use my telephone." --- Bjarne Stroustrup _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
