❦ 12 décembre 2015 14:23 +0100, Guillem Jover <[email protected]> :
>> After a recent update of libbsd, programs using it now fail at compile
>> time with:
>>
>> /usr/include/bsd/unistd.h: In function 'setproctitle':
>> /usr/include/bsd/unistd.h:64:2: error: expected declaration specifiers
>> before '__printflike'
>> __printflike(1, 2);
>> ^
>
> Indeed! :(
>
>> It seems there is a missing backslash at the end of the previous line.
>
> This is due to the overlays, some headers now expect declarations from
> the overlayed headers, bu they are not requsting them and just use the
> system ones. I've added a unit test to catch this in the future, and
> will be fixing it for an upload targetted for later today.
Do you mean that if we hit this bug, we are doing something wrong?
I am including bsd/unistd.h, shouldn't I?
--
Don't stop with your first draft.
- The Elements of Programming Style (Kernighan & Plauger)
signature.asc
Description: PGP signature

