Bug 11518 - implicit declaration of function 'strcasecmp'
Summary: implicit declaration of function 'strcasecmp'
Status: CLOSED FIXED
Alias: None
Product: ccache
Classification: Unclassified
Component: ccache (show other bugs)
Version: 3.2.3
Hardware: All Other
: P5 normal
Target Milestone: 3.2.4
Assignee: Joel Rosdahl
QA Contact: Joel Rosdahl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-14 09:50 UTC by Igor Rondarev
Modified: 2015-10-08 19:18 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Rondarev 2015-09-14 09:50:42 UTC
Bug description:

Warning message when make'ing ccache: 

gcc -DHAVE_CONFIG_H  -DSYSCONFDIR=/opt/ccache/etc -I. -I.  -g -O2 -Wall -W -c -o ccache.o ccache.c
ccache.c: In function 'color_output_possible':
ccache.c:1803: warning: implicit declaration of function 'strcasecmp'

Steps to reproduce:

# ./configure --prefix=/opt/ccache
...
# make

Reason:

Missing '#include "strings.h"' directive in ccache.c file.
Comment 1 Joel Rosdahl 2015-09-14 17:51:51 UTC
Thanks. Already fixed in https://git.samba.org/?p=ccache.git;a=commit;h=f32a14a1e8cc8bf73a2d08f769bd8df303d591cf.
Comment 2 Joel Rosdahl 2015-10-08 19:18:50 UTC
Included in v3.2.4.