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?
source
share