[opentelemetry-php-instrumentation] Enable additional compiler warnings
agoallikmaa opened this issue · comments
Ago Allikmaa commented
Currently the C source code of the auto-instrumentation extension is compiled with the default warning settings of the compiler. This means that a lot of possibly useful warnings are not enabled. Additionally, warnings that are not explicitly disabled should fail the build.
Enable -Wall -Wextra -Werror
compilation flags, possibly with some exclusions if something discovered by it is necessary in our context.