We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi there, I'm getting multiples errors while compiling a dll
my ffi.nim files only contains an import:
import cppstl/std_string
compile:
nim c --cpu:i386 -d:release --app:lib --nomain ffi.nim
D:\nim\lib/nimbase.h:550:30: error: static assertion failed 550 | NIM_STATIC_ASSERT(sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8, ""); D:\nim\lib/nimbase.h:278:50: note: in definition of macro 'NIM_STATIC_ASSERT' 278 | #define NIM_STATIC_ASSERT(x, msg) static_assert((x), msg) |
Nim Compiler Version 1.6.6 [Windows: i386]
The text was updated successfully, but these errors were encountered:
Hello,
So for starter you need to use cpp backend of Nim compiler so the compiler command should be :
nim cpp ...
I also haven't tested this package on Windows as I do not own a Windows machine at the moment.
Sorry, something went wrong.
No branches or pull requests
Hi there, I'm getting multiples errors while compiling a dll
my ffi.nim files only contains an import:
import cppstl/std_string
compile:
D:\nim\lib/nimbase.h:550:30: error: static assertion failed
550 | NIM_STATIC_ASSERT(sizeof(NI) == sizeof(void*) && NIM_INTBITS == sizeof(NI)*8, "");
D:\nim\lib/nimbase.h:278:50: note: in definition of macro 'NIM_STATIC_ASSERT'
278 | #define NIM_STATIC_ASSERT(x, msg) static_assert((x), msg)
|
Nim Compiler Version 1.6.6 [Windows: i386]
The text was updated successfully, but these errors were encountered: