With GCC these pragmas should be recognized
Reproducer:
//options_all:--gnu_version=150000 --diag_error=unrecognized_gcc_pragma
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
int f(int unused) { return 0; }
#pragma GCC diagnostic pop
Actual: warning #1675-D: unrecognized GCC pragma for each pragma.
Expected: Accepted silently. GCC 11, 12, 14, and 15 are silent with
-Wall -Wextra.
Does not affect boost compilation but leads to a huge number of instances in the build log
With GCC these pragmas should be recognized
Reproducer:
Actual:
warning #1675-D: unrecognized GCC pragmafor each pragma.Expected: Accepted silently. GCC 11, 12, 14, and 15 are silent with
-Wall -Wextra.Does not affect boost compilation but leads to a huge number of instances in the build log