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 for 'ordered comparison of pointer with integer zero' error on GCC 11.3. #1609

Merged
merged 2 commits into from
Nov 15, 2022

Conversation

raulcostajunior
Copy link

This one-liner fixes an ordered comparison of pointer with integer zero error when compiling the cclient with GCC 11.3.

GCC 11.3 is the default version of GCC that is installed on Ubuntu 22.04.

Versions of GCC newer than 11.3 should also trigger the error.

The fix is backward compatible, having been tested with GCC 9.3.0 as well.

@raulcostajunior

This comment was marked as resolved.

@pzygielo

This comment was marked as outdated.

@raulcostajunior

This comment was marked as resolved.

Copy link
Contributor

@pzygielo pzygielo left a comment

Choose a reason for hiding this comment

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

Please add EF (c) after line 2.

@raulcostajunior
Copy link
Author

I added what I believe is the EF (c) message you requested. Took it from a file in the Glassfish project.

@pzygielo
Copy link
Contributor

Thanks for the fix.

@pzygielo pzygielo added this to the 6.4.0 milestone Nov 14, 2022
@raulcostajunior
Copy link
Author

Thanks. It was a pleasure to contribute, even with such a small change.

@pzygielo
Copy link
Contributor

December 1st is the target date of

@pzygielo pzygielo merged commit decdddf into eclipse-ee4j:master Nov 15, 2022
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