Re: [dev] [ii] fails to build on systems with strlcpy

From: Manu Raster <>
Date: Wed May 30 2018 - 09:39:01 CEST

Misty De Meo <> writes:

> On Tue, May 29, 2018 at 11:58 AM, Manu Raster <> wrote:
>> Strlcpy works fine with Linux and gcc, too. It's probably just a clang
>> or apple bug.
> I don't believe it's a clang bug, but just that the strlcpy definition
> clashes with the macro which is imported via <string.h>. (OS X defines
> both a C function and a macro by the same name which wraps it, at
> least at FORTIFY_SOURCE levels above 0.) I notice that iic does #undef
> strlcpy before the prototype definition, but strlcpy.c does not.
> Adding that allows ii to build for me.

Very well! Problem solved and this indeed helps dealing easier with mac
people when needed. (Windows people have a native win32 port of dwm

Received on Wed, 30 May 2018 09:39:01 +0200

This archive was generated by hypermail 2.1.8 : Fri Jun 01 2018 - 16:20:54 CEST