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

Iox #33 disable warnings on windows #682

Conversation

elBoberido
Copy link
Member

@elBoberido elBoberido commented Apr 6, 2021

Pre-Review Checklist for the PR Author

  1. Code follows the coding style of CONTRIBUTING.md
  2. Tests follow the best practice for testing
  3. Branch follows the naming format (iox-#123-this-is-a-branch)
  4. Commits messages are according to this guideline
    • Commit messages have the issue ID (iox-#123 commit text)
    • Commit messages are signed (git commit -s)
    • Commit author matches Eclipse Contributor Agreement (and ECA is signed)
  5. Update the PR title
    • Follow the same conventions as for commit messages
    • Link to the relevant issue
  6. Relevant issues are linked
  7. Add sensible notes for the reviewer
  8. All checks have passed (except task-list-completed)
  9. Assign PR to reviewer

Notes for Reviewer

The compiler warnings for MSVC are disabled. I also added a todo to #33 to re-enable them when Windows is fully supported.

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Code according to our coding style and naming conventions
  • Unit tests have been written for new behavior
  • Public API changes are documented via doxygen
  • Copyright owner are updated in the changed files
  • PR title describes the changes

Post-review Checklist for the PR Author

  1. All open points are addressed and tracked via issues

References

Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
@elBoberido elBoberido self-assigned this Apr 6, 2021
@elBoberido elBoberido changed the base branch from master to release_1.0 April 6, 2021 16:43
@elBoberido elBoberido linked an issue Apr 6, 2021 that may be closed by this pull request
7 tasks
dkroenke
dkroenke previously approved these changes Apr 6, 2021
@@ -57,5 +58,5 @@ endif()
add_executable(${PROJECT_PREFIX}_moduletests ${MODULETESTS_SRC})
set_property(TARGET ${PROJECT_PREFIX}_moduletests PROPERTY CXX_STANDARD ${ICEORYX_CXX_STANDARD})
target_include_directories(${PROJECT_PREFIX}_moduletests PRIVATE .)
target_compile_options(${PROJECT_PREFIX}_moduletests PUBLIC -fPIC PRIVATE ${TEST_CXX_FLAGS})
target_compile_options(${PROJECT_PREFIX}_moduletests PRIVATE ${TEST_CXX_FLAGS})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need a ``POSITION_INDEPENDENT_CODE ON` here as fPIC is only for lib builds?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's a leftover from a previous cleanup. It's not used anywhere else.

iceoryx_utils/test/CMakeLists.txt Show resolved Hide resolved
Signed-off-by: Mathias Kraus <mathias.kraus@apex.ai>
@codecov
Copy link

codecov bot commented Apr 6, 2021

Codecov Report

Merging #682 (5f9a58e) into release_1.0 (e6a3293) will decrease coverage by 0.04%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           release_1.0     #682      +/-   ##
===============================================
- Coverage        74.54%   74.50%   -0.05%     
===============================================
  Files              317      317              
  Lines            11217    11217              
  Branches          1969     1969              
===============================================
- Hits              8362     8357       -5     
- Misses            2078     2082       +4     
- Partials           777      778       +1     
Flag Coverage Δ
unittests 74.45% <ø> (-0.05%) ⬇️
unittests_timing 31.22% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
..._utils/source/posix_wrapper/unix_domain_socket.cpp 56.68% <0.00%> (-1.85%) ⬇️
iceoryx_utils/source/posix_wrapper/timer.cpp 60.52% <0.00%> (-0.88%) ⬇️
...ils/include/iceoryx_utils/internal/cxx/smart_c.inl 90.62% <0.00%> (+1.56%) ⬆️

@elBoberido elBoberido merged commit 7bc8129 into eclipse-iceoryx:release_1.0 Apr 6, 2021
@elBoberido elBoberido deleted the iox-#33-disable-warnings-on-windows branch April 6, 2021 17:20
marthtz pushed a commit to boschglobal/iceoryx that referenced this pull request May 12, 2021
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.

Basic Windows 10 support
3 participants