[pyicu-dev] [PATCH] Remove problematic variable length array

Fredrik Roubert roubert at google.com
Thu Jul 22 02:41:44 PDT 2010


Fix a particularly bad VLA that Clang refuses to compile. This VLA is
of a non-POD type, and there are no well defined semantics for those,
even GCC's are broken and inconsistent at times. As it happens, these
had no need to be variable, their size has just been bounded as 'very
small', so replacing them with fixed-size arrays solves the problem.

Author: Chandler Carruth <chandlerc at google.com>

-- 
Fredrik Roubert
roubert at google.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vla.patch
Type: text/x-patch
Size: 650 bytes
Desc: not available
Url : http://lists.osafoundation.org/pipermail/pyicu-dev/attachments/20100722/89c242b6/attachment.bin 


More information about the pyicu-dev mailing list