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: [patch] Reducing build warnings (2)



  In message <199801021305.OAA07456@halles.ilog.fr>you write:
  > 
  > Hi,
  > 
  > Second step: Include <string.h> in order to declare `strcat' and similar
  > functions. libiberty/cplus-dem.c already includes <string.h> unconditionall
  > y,
  > and this apparently succeeds on all platforms supported by egcs, hence I'm
  > taking this same approach instead of the old-style (pre-1990)
  > 
  > #ifdef HAVE_STRING_H
  > #include <string.h>
  > #else
  > #ifdef HAVE_STRINGS_H
  > #include <strings.h>
  > #endif
  > #endif
  > 
  > 
  > Thu Jan  1 13:07:51 1998  Bruno Haible  <bruno@linuix.mathematik.uni-karlsr
  > uhe.de>
  > 
  >         * prefix.c: Include string.h.
[ ... ]
I believe this is also unnecessary with the system.h conversion.

jeff


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