Skip to content

Modification of integer initialization to INT/LONG_MAX#247

Merged
Algiane merged 1 commit intodevelopfrom
feature/inival-init-32b-warning
Mar 18, 2024
Merged

Modification of integer initialization to INT/LONG_MAX#247
Algiane merged 1 commit intodevelopfrom
feature/inival-init-32b-warning

Conversation

@Algiane
Copy link
Copy Markdown
Member

@Algiane Algiane commented Mar 5, 2024

This PR modifies the fix proposed by PR#223: now the size of the maximal integer is defined by CMake to INT_MAX or LONG_MAX when configuring the size of the MMG5_int integers.

It allows to decide the value of the maximal integer at configuration time and removes a compiler warning about integer overflow with int32_t integers.

@coprigent : thank you by advance for your review.

@Algiane Algiane added kind: enhancement enhancement to an existing feature part: int64 labels Mar 5, 2024
Copy link
Copy Markdown
Contributor

@corentin-prigent corentin-prigent left a comment

Choose a reason for hiding this comment

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

Thanks !

@Algiane Algiane merged commit 72d5981 into develop Mar 18, 2024
@Algiane Algiane deleted the feature/inival-init-32b-warning branch May 3, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind: enhancement enhancement to an existing feature part: int64

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants