When writing code, the compiler warns me about a line:
char name[interface_name.length()+1];
Warning massage:
warning: ISO C++ forbids variable length array ‘name’ [-Wvla]
What could be the reson for this?
Aucun commentaire:
Enregistrer un commentaire