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

Update header includes using include-what-you-use #111

Merged
merged 1 commit into from
May 2, 2023

Conversation

jmwilson
Copy link
Contributor

@jmwilson jmwilson commented May 1, 2023

Ran include-what-you-use and clang-format on sources. iwyu isn't perfect; it suggested I remove <fstream> and <sstream> which breaks compilation. This may be because of small differences between LLVM and GCC internals and standard library implementations.

Compilation and tests succeed on Debian bullseye and FreeBSD 13.2.

Updated configure.ac with 2.0.0 project version, and added checks for <arpa/inet.h> and <netinet/in.h> based on this note from man ntohs: "Some systems require the inclusion of <netinet/in.h> instead of <arpa/inet.h>."

Found one instance where we forgot std:: in front of uint8_t

@jonasstein jonasstein merged commit 57591d0 into scsitape:master May 2, 2023
3 checks passed
@jmwilson jmwilson deleted the modernize branch May 2, 2023 05:19
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.

None yet

2 participants