Benjamin Gilbert
Benjamin Gilbert
The file extension doesn't matter. There's no requirement that Ignition configs have an `.ign` extension. And, in the case of the `inline` directive, there isn't any file extension; the file...
That's a validator that's invoked by the validation process. We need to _run_ the validation process. But thinking about it some more, we need to do more than just validation....
I was pointed to this issue from #4409. I have an application where we want help to wrap at 80 characters (since that's the width of a terminal :stuck_out_tongue:) but...
Oof, okay. To my mind, next-line help is a last resort, so I'd probably set the limit around 60%. On an 80-column screen that leaves 32 columns, which is a...
This is a somewhat obscure footgun. MinGW GCC can be compiled with either a `posix` or `win32` threading model (`x86_64-w64-mingw32-gcc -v 2>&1 | grep 'Thread model'`), which affects the implementation...
To back up a bit, a program will acquire a winpthreads dependency for one/both of two reasons, which are otherwise orthogonal: 1. If MinGW uses the `posix` compiler thread model,...
I was thinking more like ```meson thread_dep = dependency('threads-win32', required: false) if not thread_dep.found() thread_dep = dependency('threads-posix') endif ``` and of course, only for programs that support both thread APIs....
> And I want to do this without degrading the current situation where `dependency('threads')` nicely handles what you want, by requiring users to copy and paste a pile of code....
@mstorsjo > Can you elaborate on this? Thread local variables aren't really implemented with either of them, as far as I know; with GCC they're implemented with "emulated TLS". [...]...
> Our conclusion (with @mstorsjo) is probably that `dependency('threads')` should be asking for a dependency for whatever sufficient for the standard library on a given platform. There is no such...