GCC warning flag for semantic release

I would like to disable the Semantic Issue warning, but I do not know the warning flag for this type. Do you know the name of the flag?

those. #pragma GCC diagnostics ignored "-Sequence-point"

+4
source share
1 answer

#pragma GCC diagnostic can only be used with the -fdiagnostics-show-option options

Compile with the -fdiagnostics-show-option to see if there are several [-Wfoo] at the end of the warning message.

+2
source

Source: https://habr.com/ru/post/1383944/


All Articles