Skip to content

Conversation

leo60228
Copy link

No description provided.

configure.ac Outdated

AX_CFLAGS_WARN_ALL
AX_COMPILER_FLAGS(,,,[-Wpedantic -Wall -Wextra -Wcast-align -Wcast-qual\
AX_COMPILER_FLAGS([-Wpedantic -Wall -Wextra -Wcast-align -Wcast-qual\
Copy link
Owner

Choose a reason for hiding this comment

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

Why this change? Per the AX_COMPILER_FLAGS documentation, I'm purposefully setting the EXTRA-BASE-CFLAGS parameter for the following behavior (quoting the documentation):

The set of base and enabled flags can be augmented using the EXTRA-*-CFLAGS and EXTRA-*-LDFLAGS variables, which are tested and appended to the output variable if –enable-compile-warnings is not "no".

configure.ac Outdated
AC_CHECK_FUNCS([malloc memmove memset strchr strtol])

AX_CFLAGS_WARN_ALL
AX_COMPILER_FLAGS([-Wpedantic -Wall -Wextra -Wcast-align -Wcast-qual\
Copy link
Owner

Choose a reason for hiding this comment

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

No, those two are not equivalent at all. See the documentation on AX_CFLAGS_WARN_ALL.

@gemarcano
Copy link
Owner

Another comment, please use more descriptive commit messages and descriptions. As it stands, I'm not happy about the Autoconf file changes unless you can convince me about them, but I'll gladly accept the typo fix for the pkg-config file.

@leo60228
Copy link
Author

leo60228 commented Mar 17, 2017 via email

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.

2 participants