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

Warning: -fvisibility-inlines-hidden is valid for C++/ObjC++ but not for C #126

Closed
FrancescAlted opened this issue May 14, 2015 · 2 comments

Comments

@FrancescAlted
Copy link
Member

I am geting the next warning:

[  2%] Building C object blosc/CMakeFiles/blosc_shared.dir/blosc.c.o
cc1: warning: command line option ‘-fvisibility-inlines-hidden’ is valid for C++/ObjC++ but not for C
...

in my Linux box (cmake version 2.8.12.2 / gcc version 4.9.1 (Ubuntu 4.9.1-16ubuntu6))

@jack-pappas any hint on how to get rid of it?

@jack-pappas
Copy link
Contributor

It's from some CMake option I introduced recently. I don't think it's required (more of a nice-to-have), so you can just delete it and that should fix the warning:

https://github.com/Blosc/c-blosc/blob/master/blosc/CMakeLists.txt#L10

If that doesn't fix the warning, please let me know and I'll look into it.

@FrancescAlted
Copy link
Member Author

It does. Thanks!

Francesc

2015-05-15 12:50 GMT+02:00 Jack Pappas notifications@github.com:

It's from some CMake option I introduced recently. I don't think it's
required (more of a nice-to-have), so you can just delete it and that
should fix the warning:

https://github.com/Blosc/c-blosc/blob/master/blosc/CMakeLists.txt#L10

If that doesn't fix the warning, please let me know and I'll look into it.


Reply to this email directly or view it on GitHub
#126 (comment).

Francesc Alted

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

2 participants