NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/53314: strncasecmp conflict when cross-compiling libgroff on FreeBSD



The following reply was made to PR toolchain/53314; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: toolchain/53314: strncasecmp conflict when cross-compiling
 libgroff on FreeBSD
Date: Sat, 26 May 2018 20:41:15 +0300

 On Sat, May 26, 2018 at 00:50:00 +0000, venture37%geeklan.co.uk@localhost wrote:
 
 > In file included from /netbsd-src/external/gpl2/groff/dist/src/libs/libgroff/color.cpp:28:
 > /netbsd-src/tools/groff/../../external/gpl2/groff/dist/src/include/lib.h:119:18: error: conflicting types for 'strncasecmp'
 > extern "C" { int strncasecmp(const char *, const char *, int); }
 >                  ^
 > /usr/include/strings.h:64:6: note: previous declaration is here
 > int      strncasecmp(const char *, const char *, size_t) __pure;
 >          ^
 
 Check your tools/groff/build/src/include/config.h and
 tools/groff/build/config.log, search for strncasecmp
 (case-insensitive).
 
 -uwe
 


Home | Main Index | Thread Index | Old Index