-
-
Notifications
You must be signed in to change notification settings - Fork 251
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 unnecessary test for stdarg.h #976
Conversation
I am seeing stdarg.h included in zconf.h & zlib.h & configure.. maybe those should be removed too? |
Actually looks like va_list is only used in one function: gzvprintf. |
Actually gzprintf too. But perhaps stdarg.h include can be moved to gzwrite.c instead of having it in zlib headers? |
Codecov Report
@@ Coverage Diff @@
## develop #976 +/- ##
===========================================
- Coverage 77.46% 75.81% -1.66%
===========================================
Files 74 74
Lines 8313 8082 -231
Branches 1374 1345 -29
===========================================
- Hits 6440 6127 -313
- Misses 1339 1425 +86
+ Partials 534 530 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@nmoinvaz We basically don't support anything that doesn't have |
What do you think of removing it from zlib headers/config and moving it to gzwrite.c only where it is used? |
@nmoinvaz Doesn't compile if I try to remove include for |
- Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980
- Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
- Fix inflate corruption #982 - Minor code cleanup #983 #984 - Fix mpicc compilation #959 - Fix build on NetBSD #964 - Fix build on OpenBSD #970 - Fix build on Cygwin #972 #974 - Fix linter warnings in configure #975 - Spelling fixes #961 - Improve unistd.h handling #960 - Remove stdarg.h detection #976 - CI/Test improvements #977 #981 #985 - Cmake improvements #980 #989
This style of test breaks if same test is done in project including zlib-ng.
zlib-ng doesn't include
stdarg.h
in any source files.