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:

  • 1 indicates start of new file.
  • 2 indicates returning file (after having included file).
  • 3 indicates following text comes system header file, warnings should suppressed.
  • 4 indicates following text should treated being wrapped in implicit extern "c" block.

Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -