My Setup:
OS: Fedora 35
Clang: clang version 13.0.0 (Fedora 13.0.0-3.fc35)
Make: GNU Make 4.3
cmake: cmake version 3.22.1
I get the following errors (trimmed the path for readability):
JoyShockMapper/src/main.cpp:4038:32: error: no viable conversion from '<overloaded function type>' to 'JSMVariable<AdaptiveTriggerSetting>::FilterDelegate' (aka 'function<AdaptiveTriggerSetting (AdaptiveTriggerSetting, AdaptiveTriggerSetting)>')
left_trigger_effect.SetFilter(&filterInvalidValue);
JoyShockMapper/src/main.cpp:4039:33: error: no viable conversion from '<overloaded function type>' to 'JSMVariable<AdaptiveTriggerSetting>::FilterDelegate' (aka 'function<AdaptiveTriggerSetting (AdaptiveTriggerSetting, AdaptiveTriggerSetting)>')
right_trigger_effect.SetFilter(&filterInvalidValue);
You can reproduce it in a docker container:
Start the docker container docker run -it --rm fedora bash
Then run:
My Setup: OS: Fedora 35 Clang:
clang version 13.0.0 (Fedora 13.0.0-3.fc35)
Make:GNU Make 4.3
cmake:cmake version 3.22.1
I get the following errors (trimmed the path for readability):
You can reproduce it in a docker container: Start the docker container
docker run -it --rm fedora bash
Then run: