diff --git a/scripts/packaging/files_msys64.txt b/scripts/packaging/files_msys64.txt index da0973f9162..9926518a30b 100644 --- a/scripts/packaging/files_msys64.txt +++ b/scripts/packaging/files_msys64.txt @@ -33,7 +33,6 @@ /mingw64/share/qt6/plugins/imageformats/qjpeg.dll /mingw64/bin/libjpeg-8.dll /mingw64/share/qt6/plugins/platforms/qwindows.dll -/mingw64/share/qt6/plugins/styles/qwindowsvistastyle.dll /mingw64/share/qt6/plugins/tls/qcertonlybackend.dll /mingw64/share/qt6/plugins/tls/qopensslbackend.dll /mingw64/share/qt6/plugins/tls/qschannelbackend.dll diff --git a/scripts/packaging/windows_distro.py b/scripts/packaging/windows_distro.py index 9b07f5be493..8179153c9c7 100644 --- a/scripts/packaging/windows_distro.py +++ b/scripts/packaging/windows_distro.py @@ -205,7 +205,9 @@ def create_webots_bundle(self, include_commit_file): else: INNO_SETUP_HOME = "/C/Program Files (x86)/Inno Setup 6" print('creating webots_setup.exe (takes long)\n') - subprocess.run([INNO_SETUP_HOME + '/iscc', '-Q', 'webots.iss']) + subprocess.run( + [INNO_SETUP_HOME + '/iscc', '-Q', 'webots.iss'] + ).check_returncode() print('Done.') diff --git a/src/webots/maths/WbMathsUtilities.cpp b/src/webots/maths/WbMathsUtilities.cpp index edfcf16d43a..fcbff381dfa 100644 --- a/src/webots/maths/WbMathsUtilities.cpp +++ b/src/webots/maths/WbMathsUtilities.cpp @@ -107,7 +107,13 @@ int WbMathsUtilities::convexHull(const QVector &points, QVector iMin = i; } + // Ignore false positive warning produced by some versions of GCC. +#pragma GCC diagnostic push +#if __GNUC__ >= 7 +#pragma GCC diagnostic ignored "-Wstringop-overflow" +#endif QVector index(size); +#pragma GCC diagnostic pop for (i = 0; i < size; ++i) index[i] = i;