Karabiner-DriverKit-VirtualHIDDevice icon indicating copy to clipboard operation
Karabiner-DriverKit-VirtualHIDDevice copied to clipboard

[Compilation error] no type named 'path' in namespace 'std::filesystem'

Open MuhammedZakir opened this issue 3 years ago • 0 comments
trafficstars

File: https://github.com/pqrs-org/Karabiner-DriverKit-VirtualHIDDevice/blob/main/include/pqrs/karabiner/driverkit/virtual_hid_device_service/constants.hpp

#include <filesystem> solved this. I didn't open a PR because I am not sure if that's the correct thing to do.

This is not an urget issue like the one above, but, I am getting deprected warnings about kIOMasterPortDefault. To solve this, I guess one could do:

#ifdef __MAC_12_0
  #define __kIOMainPortDefault kIOMainPortDefault
#else
  #define __kIOMainPortDefault kIOMasterPortDefault
#endif

If you are fine with above changes (feel free to correct me), I can open a PR.

MuhammedZakir avatar Mar 30 '22 21:03 MuhammedZakir