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

Fix build warnings #58

Merged
merged 9 commits into from
Oct 31, 2015
Merged

Fix build warnings #58

merged 9 commits into from
Oct 31, 2015

Conversation

petercolberg
Copy link
Contributor

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.

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.
@nalimilan
Copy link
Member

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 make clean does its job fails on Linux and Mac...

Generate reproducible manifest of installed files.
endif

MANIFEST.new:
rm -rf INSTALL
Copy link
Member

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.)

Copy link
Contributor Author

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
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

stevengj added a commit that referenced this pull request Oct 31, 2015
@stevengj stevengj merged commit a5c9de2 into JuliaStrings:master Oct 31, 2015
@stevengj
Copy link
Member

Thanks!

@petercolberg petercolberg mentioned this pull request Nov 1, 2015
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

3 participants