Skip to content

Fix undefined PLATFORM_COMPILER_GNU build warning #10237

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

Merged

Conversation

gpaulsen
Copy link
Member

@gpaulsen gpaulsen commented Apr 7, 2022

On Mac build I observed streams of:

In file included from ../../opal/include/opal/sys/atomic.h:420:
../../opal/include/opal/sys/atomic_stdc.h:53:42: warning: 'PLATFORM_COMPILER_GNU' is not defined, evaluates to 0 [-Wundef]
                                         ^
                                         1 warning generated.

Fixes #10233

Signed-off-by: Geoffrey Paulsen [email protected]
(cherry picked from commit 9777376)

On Mac build I observed streams of:

```
In file included from ../../opal/include/opal/sys/atomic.h:420:
../../opal/include/opal/sys/atomic_stdc.h:53:42: warning: 'PLATFORM_COMPILER_GNU' is not defined, evaluates to 0 [-Wundef]
                                         ^
                                         1 warning generated.
```

Signed-off-by: Geoffrey Paulsen <[email protected]>
(cherry picked from commit 9777376)
@gpaulsen gpaulsen requested a review from jsquyres April 7, 2022 17:34
@gpaulsen gpaulsen added this to the v5.0.0 milestone Apr 7, 2022
@gpaulsen gpaulsen changed the title Fixing annoying build warning. Fix undefined PLATFORM_COMPILER_GNU build warning Apr 7, 2022
@awlauria
Copy link
Contributor

awlauria commented Apr 7, 2022

bot:aws:retest

@awlauria awlauria changed the title Fix undefined PLATFORM_COMPILER_GNU build warning Fix undefined PLATFORM_COMPILER_GNU build warning Apr 7, 2022
@awlauria
Copy link
Contributor

awlauria commented Apr 7, 2022

bot:aws:retest

@awlauria awlauria merged commit 8e58607 into open-mpi:v5.0.x Apr 7, 2022
@gpaulsen gpaulsen deleted the topic/v5.0.x/fix_annoying_mac_warning branch April 7, 2022 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants