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

macOS build error #14

Closed
grylem opened this issue Jan 14, 2022 · 2 comments
Closed

macOS build error #14

grylem opened this issue Jan 14, 2022 · 2 comments

Comments

@grylem
Copy link

grylem commented Jan 14, 2022

Hi
macOS Apple M1
make -j
src/iio.c:569:8: error: duplicate case value '8'
case sizeof(long double): return IIO_TYPE_LONGDOUBLE;
^
src/iio.c:568:8: note: previous case defined here
case sizeof(double): return IIO_TYPE_DOUBLE;
^
1 error generated.

Regards.

@mnhrdt
Copy link
Owner

mnhrdt commented Jan 17, 2022

thanks for notifying this issue!
the last update should solve this problem

@grylem
Copy link
Author

grylem commented Jan 19, 2022

thanks.
You can also delete a string '-march=native' in makefile then macOS is used. The latest versions of apple clang do not support it.

@grylem grylem closed this as completed Jan 19, 2022
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