On Mon, Mar 5, 2018 at 10:25 AM, Ash Gokhale <ashfi...@gmail.com> wrote:

>
>
> On Sun, Mar 4, 2018 at 11:58 AM, Josh Paetzel <j...@tcbug.org> wrote:
>
>>
>>
>> On Sat, Mar 3, 2018, at 12:51 PM, Kurt Jaeger wrote:
>>
>> > --
>> > p...@opsec.eu            +49 171 3101372                         2 years
>> to go !
>>
>> I get a different failure on 10.4 using poudriere:
>>
>>
>> tx.c:317:11: note: to match this '('
>>                         (void *(* _Nonnull)(void *))&txworker_sm,
>>                                ^
>> 1 error generated.
>> *** [tx.o] Error code 1
>>
>> I have a small Makefile patch I'll send as a pull request to satisfy
>> portlint.
>>
>> --
>>
>> Thanks,
>>
>> Josh Paetzel
>>
>
> The nonnull attrib error is a thing to ponder nice  to save those two
> instructions: http://rachid.koucha.free.fr/tech_corner/
> nonnull_gcc_attribute.html.
> Looks like we got it here https://reviews.freebsd.org/D2101
> And clang suggested a change that I complicitly copied without
> understanding  the portability damage.
> What's the portable way to murder all the typing and shut up  the compiler
> warnings?
> Is there a correct way to indicate the correct types through the pthreads
> interfaces?
>
> I'm also open to suggestions for a minimal makefile that satisfies the
> build discipline. The tool itself doesn't need anything except sockets and
> stdio. Future work would  cap limit this, but it's not really portable yet.
>
> And thanks for the portlint PR while I learn the poudriere.
>

I've made peace with poudriere  in 10.4, 11.1 and 12 current jails with
USES= uidfix, and also fixed the spurious pthreads cast that was choking
gcc.  Would you  all try it again please?
https://github.com/agokhale/freebsd-port-net-viamillipede/commits/master
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to