Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).
Error: execution of an external compiler program 'g++ -c -I/usr/include/qt5/QtCore -I/usr/include/qt5 -fPIC -w -w -fpermissive -I/home/vega/work/nim/Nim/lib -o /home/vega/work/nim/nimtests/ffi/qt/nimcache/nimtests_qtapp.o /home/vega/work/nim/nimtests/ffi/qt/nimcache/nimtests_qtapp.cpp' failed with exit code: 256
In file included from /home/vega/work/nim/nimtests/ffi/qt/nimcache/nimtests_qtapp.cpp:9:0:
/home/vega/work/nim/nimtests/ffi/qt/nimcache/nimtests_qtapp.cpp:200:28: error: stray ‘@’ in program
N_NIMCALL(QString, QString(@))(NCSTRING s);
^
/home/vega/work/nim/Nim/lib/nimbase.h:215:44: note: in definition of macro ‘N_NIMCALL’
# define N_NIMCALL(rettype, name) rettype name /* no modifier */
^
/home/vega/work/nim/nimtests/ffi/qt/nimcache/nimtests_qtapp.cpp:200:42: error: ‘QString’ declared as function returning a function
N_NIMCALL(QString, QString(@))(NCSTRING s);
^
This was a working example of FFI with Qt. And now it is broken on devel.
config.nims
:qtapp.nim
The error is: