Hi!
I just upgraded to mingw 5.2 and trying to use a lighting library which is using c++14 features, but when i try to compile i get "'make_unique' is not a member of 'std'"
I created a flag -std=c++14 in project build options -> compiler flags, and it doesn't complain about it. I tried changing to -std=c++16, and then it wouldn't run, so it does recognize the command.
So why do i still get this error?
Just because your compiler supports the features of C++14 doesn't mean that the standard library implementation does too. Depending on where you got your compiler, you may have a version whose standard library does not have an implementation of std::make_unique yet.