-
Notifications
You must be signed in to change notification settings - Fork 140
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 build warnings #58
Conversation
Use relative symlinks that are independent of installation prefix. Drop superfluous .so.MAJOR.MINOR symlink, which is and should never be needed in practice. The purpose of shared library symlinks is to provide libraries for compile-time linking (.so) and for run-time linking using the SONAME (.so.MAJOR).
This resolves warnings for missing function prototypes.
Thanks! This looks good to me, apart from the few comments I have added inline. Also, it's funny that the test you added to check that |
Generate reproducible manifest of installed files.
endif | ||
|
||
MANIFEST.new: | ||
rm -rf INSTALL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably call it tmp
or similar rather than INSTALL
.
(In GNU packages, INSTALL
is a file with installation instructions.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have renamed the directory to tmp
.
@@ -1,5 +1,6 @@ | |||
/* Common functions and includes for our test programs. */ | |||
|
|||
#define _XOPEN_SOURCE 700 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice to add a comment for why this is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Thanks! |
This commit series fixes several build warnings, and ensures that
make clean
reverts the build tree to a pristine state. This is the last pull request in an effort to bring utf8proc into shape for distribution packaging, specifically for Debian.