Diagnostics consist of all the output sent to stderr by GCC.
See Implementation-defined behavior in The C Preprocessor.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-7.2.0/gcc/Translation-implementation.html