Description of problem: TigerVNC is using parts of the C++11 standard within their code base. The CXXFLAGS should be explicitly set to use that behavior so that the compiler knows to use the expected behavior there. Version-Release number of selected component (if applicable):tigervnc-1.10.1-1.fc31 How reproducible: 100% Steps to Reproduce: 1. Rebuild the RPM with a compiler that defaults to use C++99 2. 3. Actual results: /builddir/build/BUILD/tigervnc-1.10.1/common/rfb/util.h:68:21: warning: non-static data member initializers only available with -std=c++11 or -std=gnu++11 [enabled by default] size_t length = 0; ^ /builddir/build/BUILD/tigervnc-1.10.1/common/rfb/util.h: In destructor 'rfb::CharArray::~CharArray()': /builddir/build/BUILD/tigervnc-1.10.1/common/rfb/util.h:60:15: error: 'nullptr' was not declared in this scope buf = nullptr; ^ Expected results: Builds as expected Additional info: Change : export CXXFLAGS="$CFLAGS" to export CXXFLAGS="$CFLAGS -std=c++11"
tigervnc-1.10.1-2.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-e4a8ad0d12
tigervnc-1.10.1-2.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-067347e8f7
tigervnc-1.10.1-2.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.
tigervnc-1.10.1-2.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.