digital-fabric / extralite

Ruby on SQLite
http://www.rubydoc.info/gems/extralite
MIT License
253 stars 8 forks source link

fix anonymous argument error in backup_sleep_without_gvl for some compilers #15

Closed sitano closed 1 year ago

sitano commented 1 year ago

Our CI/CD pipeline produces in its images:

database.c: In function 'backup_sleep_without_gvl':
database.c:425:1: error: parameter name omitted
 void *backup_sleep_without_gvl(void *) {
 ^~~~

as an alternative it can be replaced with accomp attr:

void *backup_sleep_without_gvl(__attribute__((unused)) void *unused)