This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
#ident does not add information to object file
- To: gcc-bugs at gcc dot gnu dot org
- Subject: #ident does not add information to object file
- From: Hans Beckérus <hans dot beckerus at uab dot ericsson dot se>
- Date: Mon, 15 Nov 1999 15:59:24 +0100
- Organization: UAB/B/SD
gcc version : 2.95.1
Platform : Alpha
OS : Tru64
- and -
gcc version : 2.8.1
Platform : Sparc
OS : Solaris
Problem: #ident does not add information to object file
I have discovered a problem with gcc/g++ regarding the support
for #ident. According to documentation #pragma ident is not
supported but #ident <string> was stated to be supported for backwards
compatibility. However, when looking in the object files
produced nothing is placed in the .comment section.
A sample line look like this:
#ident "@(#) filename.h 0.1 1999-11-12"
Hans