mmmagic
mmmagic copied to clipboard
build: fix build on macOS Ventura | gnu 2020 [-Wc++17-extensions]
Since the node update from v18 to v19 mmmagic didn't compile anymore because missing C++ extensions. This merge request fixes that by changing the compiler and target platform.
Warning that it used to throw:
'static_assert' with no message is a C++17 extension [-Wc++17-extensions]
Error that is threw:
error: expected '(' for function-style cast or type construction
Please take a look and accept the merge request if you are happy with it. Thanks in advance!
PS: I have not tested or it works on Mac if you OS is not up to date.
Good luck getting this merged ;)
Thanks! :D I did see that before I submitted it. Always hopeful you know