Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@killerdevildog
Copy link

  • Add comprehensive MSVC warning suppressions in CMakeLists.txt
  • Fix unused parameter warnings with [[maybe_unused]] attributes
  • Fix type conversion warnings with static_cast
  • Fix uninitialized variable warnings with default initialization
  • Fix variable shadowing issues by renaming conflicting variables
  • Maintain cross-compiler compatibility

Warning types fixed:

  • 4244: type conversion, possible data loss
  • 4100: unreferenced formal parameter
  • 4996: deprecated function usage
  • 4701: potentially uninitialized local variable
  • 4305: truncation from type1 to type2
  • 4267: size_t conversion, possible data loss
  • 4127: conditional expression is constant
  • 4456: declaration hides previous local declaration
  • 4458: declaration hides class member

- Add comprehensive MSVC warning suppressions in CMakeLists.txt
- Fix unused parameter warnings with [[maybe_unused]] attributes
- Fix type conversion warnings with static_cast
- Fix uninitialized variable warnings with default initialization
- Fix variable shadowing issues by renaming conflicting variables
- Maintain cross-compiler compatibility

Warning types fixed:
- 4244: type conversion, possible data loss
- 4100: unreferenced formal parameter
- 4996: deprecated function usage
- 4701: potentially uninitialized local variable
- 4305: truncation from type1 to type2
- 4267: size_t conversion, possible data loss
- 4127: conditional expression is constant
- 4456: declaration hides previous local declaration
- 4458: declaration hides class member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant