[poppler] [PATCH] cairo: drawChar->drawString

Albert Astals Cid tsdgeos at yahoo.es
Fri Mar 4 11:22:54 PST 2005


A Divendres 04 Març 2005 19:59, Jeff Muizelaar va escriure:
> [...]
> +  // need at most len glyphs
> +  cairo_glyph_t glyphs[len];
> [...]

"Variable-length automatic arrays are allowed in ISO C99, and as an extension 
GCC accepts them in C89 mode and in C++."
http://gcc.gnu.org/onlinedocs/gcc-3.4.3/gcc/Variable-Length.html

So i think you should fine another aproach so that we stay compatible with the 
standards (that sentence means variable size arrays are not in C++ standard)

Albert



More information about the poppler mailing list