[LTP] [RFC PATCH 1/2] Add support for mixing C and shell code

Petr Vorel pvorel@suse.cz
Thu Jul 18 14:43:02 CEST 2024


Hi all,

one more thing to fix (or did I overlook the discussion)?

tst_test.c: In function ‘tst_run_shell’:
tst_test.c:196:2: error: variable-sized object may not be initialized
  char *argv[params_len + 2] = {};
  ^~~~

Found on gcc in SLES 15-SP6:
gcc --version
gcc (SUSE Linux) 7.5.0

Kind regards,
Petr


More information about the ltp mailing list