planck-repl / planck

Stand-alone ClojureScript REPL
https://planck-repl.org
Eclipse Public License 1.0
1.03k stars 68 forks source link

Address build errors for Ubuntu 22.04 #1090

Closed lread closed 2 years ago

lread commented 2 years ago

When calling JSObjectCallAsFunction, the arguments parameter should be NULL when the argumentCount parameter is 0.

But... we were passing an empty array for the arguments parameter.

There is something new/different in Ubuntu 22.04 that raises a warning around this.

Closes #1089

mfikes commented 2 years ago

@lread Cool! Please also add a line in the CHANGELOG.md file (a new entry in the Unreleased Fixed section near the top).