openFrameworks
openFrameworks copied to clipboard
utils/ofThread.h:42:7: warning: 'class ofThread' has virtual functions and accessible non-virtual destructor
utils/ofThread.h:42:7: warning: 'class ofThread' has virtual functions and accessible non-virtual destructor
appear with "g++ main.cpp ofApp.cpp -std=c++17 -Wall -Wnon-virtual-dtor .... "
It seems necessary to add "virtual ~ofThread() { }