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

Remove definition of max macro. Use OMR_MAX instead #2308

Merged
merged 1 commit into from
Jul 4, 2018

Conversation

DanHeidinga
Copy link
Member

Clang warns (and errors) on headers used in cpp files that
define max as it conflicts with std::max. Change all uses
of max to OMR_MAX in MethodMetaData.c and delete the
define to address clang warnings.

issue: #36

Signed-off-by: Dan Heidinga daniel_heidinga@ca.ibm.com

@pshipton
Copy link
Member

Note both files need a copyright update.

Clang warns (and errors) on headers used in cpp files that
define max as it conflicts with std::max.  Change all uses
of `max` to `OMR_MAX` in MethodMetaData.c and delete the
define to address clang warnings.

issue: eclipse-openj9#36

Signed-off-by: Dan Heidinga <daniel_heidinga@ca.ibm.com>
@DanHeidinga
Copy link
Member Author

Fixed copyright dates. Some day I'll get that right the first time

@pshipton
Copy link
Member

jenkins test sanity win,plinux jdk8

@pshipton
Copy link
Member

jenkins test sanity plinux jdk8

@DanHeidinga
Copy link
Member Author

The windows test failures are jvmti tests: #2129

@gacholio gacholio merged commit 8ab9986 into eclipse-openj9:master Jul 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants