Where can I find a complete list of gcc warnings and errors?

Sometimes I need to use gcc for cross-platform work, and sometimes gcc really entertains me with its warnings. For instance:

#pragma once in the main file

This is a very informative warning, but I really donโ€™t know what the โ€œmain fileโ€ is in gcc and WHY terminology; it should not contain #pragma once :). So, is there any documentation that covers all gcc warnings and errors (mostly warnings, errors are trivial) with some comments on them?

+5
source share
1 answer

'#pragma once' . ( ".c" ), ( - , [ ]; #pragma once, !). , " " , , .

- GCC, , . , .

+3

All Articles