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

compilation warnings about "pragma diagnostic pop could not pop, no matching push" #1531

Open
paciorek opened this issue Feb 20, 2025 · 0 comments

Comments

@paciorek
Copy link
Contributor

Compilation (including installing nimble from source) is giving a (new?) warning.

Just flagging it. I haven't checked if it is Mac-specific or Apple Silicon Mac-specific. But I don't see it on Linux.

Here's one of the warnings when installing nimble, but one should be able to see if when using compileNimble.

/Library/Frameworks/R.framework/Resources/bin/Rscript --vanilla ./customizeMakeconf.R
Building libnimble.a
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -DR_NO_REMAP -I"../include"   -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall  -O2   -c nimOptim.cpp -o nimOptim.o
In file included from nimOptim.cpp:23:
In file included from ../include/nimble/nimOptim.h:25:
In file included from ../include/nimble/NimArr.h:26:
In file included from ../include/nimble/NimArrBase.h:33:
In file included from ../include/Eigen/Core:382:
../include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push
      [-Wunknown-pragmas]
    #pragma clang diagnostic pop
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

No branches or pull requests

1 participant