MacMusic  |  PcMusic  |  440 Software  |  440 Forums  |  440TV  |  Zicos

[$] Variable-length arrays and the max() mess

Monday March 12, 2018. 10:37 PM , from
Variable-length arrays (VLAs) have a non-constant size that is determined (and
which can vary) at run time; they are supported by the ISO C99
standard. Use of VLAs in the
kernel has long been discouraged but not prohibited, so there are naturally
numerous VLA instances to be found. A recent push to remove VLAs from the
kernel entirely has gained momentum, but it ran into an interesting snag on
the way.
News copyright owned by their original publishers | Copyright © 2004 - 2018 Zicos / 440Network
Current Date
Dec, Sat 15 - 10:54 CET