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

Remove ifdef inside cpp and format #1587

Merged
merged 4 commits into from
Sep 24, 2024
Merged

Conversation

clementperon
Copy link
Collaborator

@clementperon clementperon commented Sep 21, 2024

We should let CMake choose if this CPP should be compiled or not

@tigercosmos
Copy link
Collaborator

I agree, it's better to manage this at CMake.

@clementperon clementperon force-pushed the clean_ifdef branch 2 times, most recently from 0660506 to 697e27d Compare September 21, 2024 21:31
Copy link

codecov bot commented Sep 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.90%. Comparing base (3b57224) to head (f38efa2).
Report is 3 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1587      +/-   ##
==========================================
- Coverage   82.90%   82.90%   -0.01%     
==========================================
  Files         273      273              
  Lines       46278    46277       -1     
  Branches     9287     9536     +249     
==========================================
- Hits        38367    38365       -2     
+ Misses       7100     7076      -24     
- Partials      811      836      +25     
Flag Coverage Δ
fedora39 74.49% <ø> (-0.03%) ⬇️
macos-12 80.89% <ø> (ø)
macos-13 80.31% <ø> (+<0.01%) ⬆️
macos-14 80.23% <ø> (ø)
mingw32 70.25% <ø> (-0.03%) ⬇️
mingw64 70.24% <ø> (-0.02%) ⬇️
npcap 84.80% <ø> (-0.03%) ⬇️
rhel94 74.26% <ø> (ø)
ubuntu2004 57.83% <ø> (ø)
ubuntu2004-zstd 57.95% <ø> (ø)
ubuntu2204 74.21% <ø> (+0.02%) ⬆️
ubuntu2204-icpx 58.40% <ø> (+<0.01%) ⬆️
ubuntu2404 74.48% <ø> (+0.03%) ⬆️
unittest 82.90% <ø> (-0.01%) ⬇️
windows-2019 84.86% <ø> (-0.02%) ⬇️
windows-2022 84.85% <ø> (-0.03%) ⬇️
winpcap 84.84% <ø> (ø)
xdp 49.21% <ø> (-0.01%) ⬇️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@clementperon clementperon changed the title draft: Remove ifdef inside cpp Remove ifdef inside cpp and format Sep 22, 2024
@tigercosmos tigercosmos merged commit 4417695 into seladb:dev Sep 24, 2024
40 checks passed
tigercosmos pushed a commit to tigercosmos/PcapPlusPlus that referenced this pull request Sep 24, 2024
* Remove ifdef inside cpp

* Proper indent file

* More fix

* same for headers
@clementperon clementperon deleted the clean_ifdef branch September 24, 2024 08:50
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.

4 participants