GNU bug report logs - #34285
grep.c should #include <strings.h>

Previous Next

Package: grep;

Reported by: DAVID MONNIAUX <david.monniaux <at> univ-grenoble-alpes.fr>

Date: Sat, 2 Feb 2019 09:10:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: DAVID MONNIAUX <david.monniaux <at> univ-grenoble-alpes.fr>
To: 34285 <at> debbugs.gnu.org
Subject: bug#34285: grep.c should #include <strings.h>
Date: Sat, 2 Feb 2019 10:08:55 +0100 (CET)
[Message part 1 (text/plain, inline)]
grep.c should #include <strings.h> because it uses strcasecmp, and POSIX says it is declared in <strings.h> 

Not doing so results in a warning about an undeclared function on some systems (including Kalray k1c), thus possibly in incorrect code being generated. 


Directeur de recherche au CNRS, laboratoire VERIMAG, équipe PACSS 
http://www-verimag.imag.fr/~monniaux/ 
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 111 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.