This is the mail archive of the gcc-patches@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: new -fleading-underscore option


It looks OK to me.

I think there is one little bit missing though.  You need to define
USER_LABEL_PREFIX in toplev.c if the port doesn't define it.  This was
needed for an hpux build with an earlier version of these patches.  This
is what you added to the earlier patches to fix it.

Index: toplev.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/toplev.c,v
retrieving revision 1.318.2.4
diff -c -p -d -r1.318.2.4 toplev.c
*** toplev.c	1998/09/23 19:03:49	1.318.2.4
--- toplev.c	1998/09/28 21:08:41
*************** int flag_leading_underscore = -1;
*** 829,834 ****
--- 829,837 ----
  #ifndef USE_CPPLIB
  char *user_label_prefix;
  #endif
+ #ifndef USER_LABEL_PREFIX
+ #define USER_LABEL_PREFIX ""
+ #endif
  
  /* Table of language-independent -f options.
     STRING is the option name.  VARIABLE is the address of the variable.



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