Closed jbcoe closed 7 years ago
scripts/build.py
is taken from https://github.com/jbcoe/polymorphic_value
Thanks for the contribution!
It would be more appropriate to silence the warnings with #pragma
. The library supports move-from-self, hence the specific cases. Can you provide the command-line -W
switch?
Thanks for the scripts, but they seem like overkill. It's only a one-liner to compile and execute each .cpp
file. I should provide negative tests to check the deprecation warnings and non-SFINAE failures, but there doesn't seem to be a proper harness here. Something like that is on the to-do list…
Some tests triggered clang-warnings due to move-assignment from-self. Lines in question have been commented out with no effect on test success.
python ./scripts/build.py -t
gives a platform-portable build and test run.