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

Avoid the direct use of 'defined' in macro expansion #4539

Merged

Conversation

juergenhoetzel
Copy link
Contributor

Fixes "-Wexpansion-to-defined" warnings produced by clang >=3.9.

Closes #4537

Fixes "-Wexpansion-to-defined" warnings produced by clang >=3.9.

Closes openwall#4537
Copy link
Member

@claudioandre-br claudioandre-br left a comment

Choose a reason for hiding this comment

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

Passes upstream Travis CI: https://travis-ci.org/github/claudioandre-br/JohnTheRipper/builds/753171495

BTW: if Travis' plan is NOT based on Linux credits (if the organization can run unlimited builds using Linux), there is no reason to skip all builds on a PR as it is doing now.

@solardiz
Copy link
Member

solardiz commented Jan 6, 2021

BTW: if Travis' plan is NOT based on Linux credits (if the organization can run unlimited builds using Linux), there is no reason to skip all builds on a PR as it is doing now.

What is it skipping now? I see "Travis CI - Pull Request Successful in 5m — Build Passed", perhaps after your approval of the PR's changes. By skipping do you mean this being conditional on approval?

Copy link
Member

@solardiz solardiz left a comment

Choose a reason for hiding this comment

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

Nitpick: there are extra braces around the expressions - these made sense in the #define lines, but are unneeded in #if. Anyway, I'll merge this as-is because we currently have a build error that we need to fix ASAP.

@solardiz solardiz merged commit 699a3d0 into openwall:bleeding-jumbo Jan 6, 2021
@solardiz
Copy link
Member

solardiz commented Jan 6, 2021

Should these changes perhaps be contributed upstream, to @floodyberry's https://github.com/floodyberry/poly1305-donna? @juergenhoetzel Will you do that, please? Thanks!

@claudioandre-br
Copy link
Member

What is it skipping now? I see "Travis CI - Pull Request Successful in 5m — Build Passed"

It is skipping the build (configure + make).
See, for example, Mac; the execution took 23s. Linux, 40s. The only thing that happened was a boot, a check and an exit 0.

The merged code is, in fact, being built.

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.

Restic issues
3 participants