Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👨‍🌾 Problem comping on Windows for ign-cmake2 #140

Closed
caguero opened this issue Dec 29, 2020 · 3 comments
Closed

👨‍🌾 Problem comping on Windows for ign-cmake2 #140

caguero opened this issue Dec 29, 2020 · 3 comments
Labels
Windows Windows support

Comments

@caguero
Copy link
Contributor

caguero commented Dec 29, 2020

https://build.osrfoundation.org/job/ignition_cmake-ci-ign-cmake2-windows7-amd64/57/console

Error message:

cl : Command line warning D9025 : overriding '/W3' with '/W4'
nonvirtual_destructor.cc
D:\Jenkins\workspace\ignition_cmake-ci-ign-cmake2-windows7-amd64\ws\ign-cmake\test\warning\nonvirtual_destructor.cc(28): error C2220: the following warning is treated as an error

On December 15 the job worked, and since December 22 we have the issue.

@chapulina
Copy link
Contributor

I think this is the new warning:

D:\Jenkins\workspace\ignition_cmake-ci-ign-cmake2-windows7-amd64\ws\ign-cmake\test\warning\nonvirtual_destructor.cc(28): warning C5205: delete of an abstract class 'Base' that has a non-virtual destructor results in undefined behavior

This is probably caused by an upgrade of Visual Studio on the CI machines. That warning was introduced in VS 2019 v16.5. That CI machine ( win-windows_local.win8) is running v16.8.3. While testing a fix, I noticed that win-windows_nuc.win10 is running v16.4.3, so this may look like a flaky test depending on where it runs.

I have a potential fix in #141.

@mjcarroll
Copy link
Contributor

#141 is merged

@chapulina
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Windows Windows support
Projects
None yet
Development

No branches or pull requests

3 participants