This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: #line directive question


Simon Burton <simonb@webone.com.au> writes:

|> newbie question:
|> Can anyone tell me what the trailing numbers
|> in the #line output from gcc -E are counting??
|> eg:
|> $ gcc -E /usr/include/stdio.h:
|> ...
|> # 1 "/usr/include/features.h" 1 3
|> ...
|>  what is the 1 and 3 on the end?

1 - enter header
2 - leave header
3 - system header
4 - implicit extern "C"

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]