Skip to content

Allow liblsl compilation with c++14.#231

Merged
tstenner merged 1 commit into
sccn:masterfrom
NexusDynamic:feature/c14-backport
Apr 2, 2025
Merged

Allow liblsl compilation with c++14.#231
tstenner merged 1 commit into
sccn:masterfrom
NexusDynamic:feature/c14-backport

Conversation

@zeyus
Copy link
Copy Markdown
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