Compiling with Clang 10 yields the following error:
fluid-engine-dev/src/examples/hello_fluid_sim/main.cpp:22:59: error: 'sizeof (kGrayScaleTable)' will return the size of the pointer, not the array itself [-Werror,-Wsizeof-pointer-div]
const size_t kGrayScaleTableSize = sizeof(kGrayScaleTable)/sizeof(char);
~~~~~~~~~~~~~~~~~~~~~~~^
fluid-engine-dev/src/examples/hello_fluid_sim/main.cpp:21:13: note: pointer 'kGrayScaleTable' declared here
const char* kGrayScaleTable = " .:-=+*#%@";
Compiling with Clang 10 yields the following error:
Clang version: