Closed albx79 closed 1 year ago
This seems to be a duplicate on #18 . Dlib started using c++14 standard, and that has caused some breaks, but otherwise, a easy fix. (Fixed in #22.) The GCC collection version 13 does not correlate to the c++ standard version. c++14 had initial support in GCC 4.9, so this shoudn`t be a problem.
Could you check the latest commit?
I can confirm that it works with the latest commit, thanks!
I'm getting the error above when trying to build using cargo on Fedora 38 with g++ 13.
The failure seems to be due to a number of
... function uses ‘auto’ type specifier without trailing return type
errors. (I'm attaching the output ofcargo build 2> error.log
).According to StackOverflow (https://stackoverflow.com/questions/44798728/warning-function-uses-auto-type-specifier-without-trailing-return-type), that code can only be compiled with C++14. I've noticed that the latest release of gcc is version 13, so I wonder how can this code be compiled at all.
Any help is greatly appreciated.
Thanks
error.log