Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Build fail with gcc 9 #5303
Compilation completes successfully.
Steps to reproduce the behavior
Simple make command can reproduce the error.
It doesn't compile with clang 8 either unfortunately.
The same problem using GCC 9.1 on Ubuntu 18.04 to build
Explicit copy constructor needs to be implemented, which is also a good practice alongside copy-assignment as follows:
After fixing the above errors as described (and the fix works fine), getting the following:
So, now the