tests//
and the test file should start with the letter "t",
eg tests/macros/tbindsym2.nim
Originally compiled my own libRmath-nim.so but tried using the nimble-pkg
provided copy instead (via LD_LIBRARY_PATH). Still same result. My C compilers
are slightly older. Clang 3.6, GCC 4.8.4. I'd be surprised if that made a
difference. I'm assuming, @andrea, that gibbs succeeds for you with -
Nim in Action is 50% off until the 25th of August using code `pbbutcherlt`:
[https://manning.com/books/nim-in-action?a_aid=niminaction&a_bid=78a27e81](https://manning.com/books/nim-in-action?a_aid=niminaction&a_bid=78a27e81)
Perfect opportunity to grab it if you haven't already. It's almost finis
How do you write a test case for macros or compile time proc? Where should I
add it?
sir.nim fails for me in release mode. I have Ubuntu 16.04 with Nim devel
updated right now and GCC 5.4.0. The example compiles just fine (`nim c
-d:release sir.nim`), but trying to run it (`./sir`) results in `could not
load: libRmath-nim.so`. The same happens with `nim c -r -d:release sir.nim`,
Oh I got it - the twoForOne procs are only working on a copy (not ref) of Foo.
Sorry :)
Yeah, sorry, just spotted that..
If .. but `twoForOneBackConcept()` and `twoForOneBackGeneric()` do not get a
var parameter.
This may be a silly question, but in the OderWat example above, on the two proc
calls for type Foo (x), should x.v be updated in outer scope? i.e First echo
shows (v: 5, s: Test), second echo shows (v: 5, s: Test) - on my system.
Should the second call not then echo (v: 6, s: Test) considering x
Sorry. Not AsyncHttpServer, I meant AsyncHttpClient :)
@abbat Nice. I might look into doing some automated builds as having
repositories would be pretty useful for me.
Thanks dom96, when I try to download using httpclient.download file I get
Error: 'threadFunc' is not GC-safe as it accesses 'defaultSSLContext'
which is a global using GC'ed memory
I've never used threads before, so my scripting may be wrong, here is my
attempt at it:
Have just built _distributions_ and libRmath-nim. sir.nim and gibbs.nim both
compile (and run) successfully for me in both release and debug modes, for Nim
0.14.2 and Nim devel. I'm on Linux x86_64. Have tried both GCC and Clang. What
configuration is causing the issue?
13 matches
Mail list logo