This is the mail archive of the gcc-bugs@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]

#ident does not add information to object file


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







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