[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
strnstr errors in tests while on NetBSD
From: |
Riccardo Mottola |
Subject: |
strnstr errors in tests while on NetBSD |
Date: |
Fri, 22 Jan 2021 08:26:47 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 SeaMonkey/2.53.6 |
Hi,
while building tests on NetBSD/sparc I saw that many tests failed for
this reason:
build.m:7:1: error: conflicting types for 'strnstr'
strnstr(const uint8_t *buf, unsigned len, const uint8_t *str)
^
In file included from
/home/multix/gnustep-svc/libs-base/Headers/GNUstepBase/GSConfig.h:430:0,
from
/home/multix/gnustep-svc/libs-base/Headers/GNUstepBase/GSVersionMacros.h:224,
from
/home/multix/gnustep-svc/libs-base/Headers/Foundation/Foundation.h:30,
from build.m:2:
/usr/include/string.h:107:7: note: previous declaration of 'strnstr' was
here
char *strnstr(const char *, const char *, size_t);
they don't even build.
Riccardo
- strnstr errors in tests while on NetBSD,
Riccardo Mottola <=