Here's a starter patch that shows one of the approaches discussed. It gets WSL users to a better place than they were before, by suppressing further warnings after the first one.
This wasn't quite right, updated to check erro for ENOSYS (not rc)
This compiles and stops the panic on WSL (with a single warning).
I haven't tested if a version compiled on Linux will behave the same way - but based on the error messages in the top post it looks like the behavior is the same.
--
James
The contents of this email are confidential and may be subject to legal or professional privilege and copyright. No representation is made that this email is free of viruses or other defects. If you have received this communication in error, you may not copy or distribute any part of it or otherwise disclose its contents to anyone. Please advise the sender of your incorrect receipt of this correspondence.