Error occurs when performing tutorial step 2.54:
run path-to-lava/tools/install/bin/lavaInitTool src/*-pre.c where the arguments are all the preprocessed c files.
I noticed that the commands in the compile_commands.json file used the original .c files and not the -pre.c files. Modifying the compile_commands.json file using -pre.c files as the source file eliminates the error. However, the ={0} initializers were placed in the original .c files (Not the src/*-pre.c versions).