Skip to content

Allow liblsl compilation with c++14. #231

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
merged 1 commit into from
Apr 2, 2025

Conversation

zeyus
Copy link
Contributor

@zeyus zeyus commented Apr 2, 2025

This PR makes two minor changes:

  • Add a error message to static_assert calls
  • replace the singular instance of std::is_integral_v<T> with std::is_integral<T>::value

These changes do not impact anything else, but make it compatible with C++14 standard.

Why?

With this change, I have successfully compiled and tested my Dart api wrapper on ARMv7 (BELA / BeagleBone black).

SBC/Embedded devices are often running older / restricted hardware, and the BELA runs a variant of Debian 9 (Stretch). This means the compilers are outdated, and the latest available Clang / LLVM is version 7, and the highest C/CPP version available is 14.

@tstenner tstenner merged commit e6477bc into sccn:master Apr 2, 2025
4 of 6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants