Commit Graph

5 Commits

Author SHA1 Message Date
Cengiz Can
290f3f2494 use hex value for shim index key 2018-10-16 08:37:27 +03:00
Cengiz Can
eea2de2a1a Avoid impl dependent multi-char constants
Hello!

I was receiving this warning while compiling for linux:

```
src/host/premake.c: In function ‘premake_init’:
src/host/premake.c:197:36: warning: multi-character character constant [-Wmultichar]
  lua_rawseti(L, LUA_REGISTRYINDEX, 'SHIM');
                                    ^~~~~~
```

Instead of disabling the warning, I've decided to convert that array key to
an expression.

And I've tested with following compilers:

gcc version 7.3.0 (Ubuntu 7.3.0-27ubuntu1~18.04)
gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)

Thank you
2018-10-15 11:55:05 +03:00
Erin Catto
6da758cdd7 Xcode Fixes
Fix cppdialect=C++11
Fix angle bracket include complaints
2018-05-31 21:00:15 -07:00
Tom van Dijck
124a11f3ad fix for build failure on macOS in debug. 2017-08-02 08:46:47 -07:00
Tom van Dijck
36f835f313 Proof of concept for binary modules. 2017-07-04 19:19:23 -07:00