This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
-aux-info option of GCC
- From: ali hagigat <hagigatali at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 4 Jan 2011 08:05:40 +0330
- Subject: -aux-info option of GCC
-aux-info filename
Besides declarations, the file indicates, in comments, the origin of
each declara-
tion (source file and line), whether the declaration was implicit, prototyped or
unprototyped (‘I’, ‘N’ for new or ‘O’ for old, respectively, in the
first character
after the line number and the colon), .....
-----------------------------------------------------------------------------------
I have copied part of GCC manual. I wonder if anybody can write a C
program to see the 'O' by -aux-info.
When compiler comes across a function prototype or the definition of a
function, it generates 'N' by -aux-info. When it can generate 'O'?