Paul Eipper

Results 92 comments of Paul Eipper

Yes, I have a M1 Mac. For the moment I have downgraded to the previous release. Any way we can help to support older macOS versions?

``` % sudo nextdns log Error: exit status 1 % sudo nextdns version nextdns version 1.41.0 ```

``` % uname -v Darwin Kernel Version 21.6.0: Mon Feb 19 20:24:14 PST 2024; root:xnu-8020.240.18.707.4~1/RELEASE_ARM64_T8101 % nextdns version nextdns version 1.42.0 % sudo nextdns log Error: exit status 1 ```

Updated to follow new commits in master. Also changed tree to use long instead of int because of `lrand48` return type.

That's true, the implementation of `lrand48` uses a `uint32_t` internally, I'll add a cast to that so the warnings don't show.

Ended up creating a function `irand48` that does the cast to `int`. It is inside `tree.h` and declared as `static inline` so all files that deal with the tree have...

There are still 175 warnings, most associated with pointer arithmetic.

For example, on `queries.c`, everywhere when this is done: ``` packet_ptr - packet_buffer ``` there is a warning `Implicit conversion loses integer precision: 'long' to 'int'`, since a pointer is...

The problem with disabling type warnings for these cases is that they can hide future legitimate errors. I prefer to live with them enabled knowing they are harmless.

Could it be built on top of zerorpc, or at least steal their channel multiplexer: https://github.com/dotcloud/zerorpc-python/blob/master/zerorpc/channel.py