pok3r-custom / pok3rtool

Command line tool and library for keyboards using qmk-pok3r
BSD 3-Clause "New" or "Revised" License
41 stars 7 forks source link

cannot compile on Linux #17

Closed FbN closed 1 year ago

FbN commented 1 year ago

Tested with different gcc version (9, 12)

Erorror:

libchaos/chaos/base/zerror.cpp:800:20: error: variable length array declaration cannot have 'static' storage duration static uint8_t alternate_stack[SIGSTKSZ]; ^ ~~~~

hansemro commented 1 year ago

There is a one line change to fix this in libchaos: https://github.com/ChaoticEnigma/libchaos/pull/5

FbN commented 1 year ago

I confirm this solve the problem. Thank you @hansemro