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

Fix wrong config defines in boost/windows.cfg #6492

Merged
merged 4 commits into from
Jun 20, 2024

Commits on Jun 13, 2024

  1. Fix defines for boost test macros

    The _MESSAGE macros were causing an unusedScopedObject warning because
    the created string was not used. Casting the message to void fixed the
    warnings.
    
    Add missing `BOOST_AUTO_TEST_CASE_TEMPLATE` macro accidentally removed
    with d1b3670
    ChristophStrehle committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    c866178 View commit details
    Browse the repository at this point in the history
  2. Fix wrong defined in windows.cfg

    INVALID_HANDLE_VALUE is defined as `-1` in the windows sdk
    INVALID_SOCKET is defined as `~0` in the windwos sdk
    
    Add missing generic rights
    ChristophStrehle committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    ea62369 View commit details
    Browse the repository at this point in the history
  3. Add tests for boost config

    Add one test for the `BOOST_<level>_MESSAGE` macros
    Add one test for the `BOOST_AUTO_TEST_CASE_TEMPLATE`
    ChristophStrehle committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    7e50271 View commit details
    Browse the repository at this point in the history
  4. Add tests for windows config

    There should be no Cppcheck warning when checking for 0 and
    `INVALID_HANDLE_VALUE` or `INVALID_SOCKET`
    ChristophStrehle committed Jun 13, 2024
    Configuration menu
    Copy the full SHA
    abd8b11 View commit details
    Browse the repository at this point in the history