NetBSD-Bugs archive

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

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



>Number:         53314
>Category:       toolchain
>Synopsis:       strncasecmp conflict when cross-compiling libgroff on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 26 00:50:00 +0000 2018
>Originator:     Sevan Janiyan
>Release:        NetBSD-HEAD
>Organization:
>Environment:
FreeBSD 11.2-BETA2 #0 r333797
>Description:
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;
         ^

>How-To-Repeat:
On FreeBSD 11.2
./build.sh -U -m amd64 tools
>Fix:



Home | Main Index | Thread Index | Old Index