Hi,
Am 22.09.2017 um 15:35 schrieb Tobias Ellinghaus:
No, you are missing the point of those pragmas: darktable from git always
builds with "-Werror", thus the "-Wvla" switch actually throws an hard error
when using VLAs. With the pragma we are relaxing that back to a warning again
to be able to use VLAs in some places.
I understand, makes sense. After reading the article about the save
usage of variable length arrays mentioned in my other mail, I thing
variable length arrays are actually not as great as I thought. What one
really wants is probably a std::vector. But this has not yet been
invented in C.
Heiko
--
-- Number Crunch Blog @ https://www.numbercrunch.de
-- Cluster Computing @ http://www.clustercomputing.de
-- Professional @ https://www.mpi-hd.mpg.de/personalhomes/bauke
-- Social Networking @ https://www.researchgate.net/profile/Heiko_Bauke
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to [email protected]