minilua | Single-file port of Lua, a powerful scripting language | Game Engine library
kandi X-RAY | minilua Summary
kandi X-RAY | minilua Summary
This is Lua contained in a single header to be bundled in C/C++ applications with ease. Lua is a powerful, efficient, lightweight, embeddable scripting language.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of minilua
minilua Key Features
minilua Examples and Code Snippets
Community Discussions
Trending Discussions on minilua
QUESTION
ANSWER
Answered 2020-Jun-01 at 22:04I took a quick look:
The warning about conversion from 'int' to 'HANDLE' of greater size
are probably due to a missing #include
, which leads to the compiler assuming that _get_osfhandle()
returns int
instead of intptr_t
. This is potentially a bug (though it might not manifest in practice depending on the range of values windows actually returns from that function).
The warnings about 'FARPROC' differs in parameter lists
are due to missing casts from the generic pointer returned by GetProcAddress()
to the specific type. However, because all pointer types have compatible representation, nothing bad can happen if ignored.
The warnings about the pragmas can be ignored as well, and could be suppressed with a judicious use of #ifdef __GNUC__
.
The warnings about unrecognized character escape sequence
are due to not properly escaping backslashes in paths in generated code. Should be fixed, but can be ignored as well.
Regarding zstd, the configuration script uses pkg-config
to find the library, so no windows support. Someone should fix that. However, I believe this will only affect the profiler, not regular operation of MoarVM.
I did not investigate the Command line warning
stuff, though it looks like something thinks it's compiling on a *nix system and hence passes incorrect flags. Should be fixed, but might not break the build.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install minilua
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page