compilation - Debugging information in GCC preprocessor output -
i inspecting preprocessed output generated gcc, , see lot of these in .i file generated using -save-temps flag:
# 8 "/usr/include/i386-linux-gnu/gnu/stubs.h" 2 3 4 what numbers before , after absolute path of stubs.h mean? seems kind of debugging information inserted preprocessor , allows compiler issue error messages referring information. these lines not affect program itself, each number for?
based on the documentation number before filename line number. numbers after file name flag , mean following:
1indicates start of new file.2indicates returning file (after having included file).3indicates following text comes system header file, warnings should suppressed.4indicates following text should treated being wrapped in implicit extern "c" block.
Comments
Post a Comment