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

New C4275 warnings on Windows from OgreUTFString #621

Closed
chapulina opened this issue May 6, 2022 · 4 comments
Closed

New C4275 warnings on Windows from OgreUTFString #621

chapulina opened this issue May 6, 2022 · 4 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed Windows Windows support

Comments

@chapulina
Copy link
Contributor

Environment

  • OS Version: Windows
  • Source or binary build? Source, main branch

Description

  • Expected behavior: No warnings on CI
  • Actual behavior: 100 warnings on CI

Steps to reproduce

Run Windows CI.

Output

See for example:

https://build.osrfoundation.org/job/ign_rendering-pr-win/2552/msbuild/

non dll-interface class 'std::runtime_error' used as base for dll-interface class 'Ogre::UTFString::invalid_data' (compiling source file C:\Jenkins\workspace\ign_rendering-pr-win\ws\ign-rendering\ogre\src\OgreConversions.cc)
@chapulina chapulina added bug Something isn't working help wanted Extra attention is needed labels May 6, 2022
@chapulina chapulina added the Windows Windows support label May 6, 2022
@iche033 iche033 mentioned this issue May 7, 2022
8 tasks
@iche033 iche033 closed this as completed May 10, 2022
@chapulina
Copy link
Contributor Author

via

fixed the warnings for Fortress, but not for Citadel - that's been yellow since May:

https://build.osrfoundation.org/job/ign_rendering-ign-3-win/

I've removed the Windows check requirement for ign-rendering3 and updated

@Blast545 / @Crola1702 - this would be a good one to tackle soon

@chapulina chapulina reopened this Jul 29, 2022
@mjcarroll mjcarroll self-assigned this Aug 8, 2022
@Crola1702
Copy link
Contributor

@mjcarroll I'm looking into this problem. I was checking this #617 PR and thinking about backporting just macros in the files.

Are you looking into this? Or, can I self assign this for the moment?

@mjcarroll
Copy link
Contributor

I'm not currently looking at it, but it's in my queue. If you want to grab it, I would appreciate.

I think that the macros are exactly what is needed here.

@Crola1702
Copy link
Contributor

This was fixed with: #707
It's working here: https://build.osrfoundation.org/job/ign_rendering-ign-3-win/80/msbuild/folder.702720613/#categoryContent
We can close this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed Windows Windows support
Projects
Archived in project
Development

No branches or pull requests

5 participants