You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/home/beta/.cache/nim/expc_d/expc.nim.c:103:12: error: stray ‘`’ in program
103 | NI ompsize`gensym178008;
| ^
/home/beta/.cache/nim/expc_d/expc.nim.c:103:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gensym178008’
103 | NI ompsize`gensym178008;
| ^~~~~~~~~~~~
/home/beta/.cache/nim/expc_d/expc.nim.c:103:13: error: ‘gensym178008’ undeclared (first use in this function)
/home/beta/.cache/nim/expc_d/expc.nim.c:103:13: note: each undeclared identifier is reported only once for each function it appears in
/home/beta/.cache/nim/expc_d/expc.nim.c:107:9: error: stray ‘`’ in program
107 | ompsize`gensym178008 = ((NI) 123);
| ^
/home/beta/.cache/nim/expc_d/expc.nim.c:107:2: error: unknown type name ‘ompsize’
107 | ompsize`gensym178008 = ((NI) 123);
| ^~~~~~~
/home/beta/.cache/nim/expc_d/expc.nim.c:111:30: error: stray ‘`’ in program
111 | T1_[0] = nimIntToStr(ompsize`gensym178008);
| ^
/home/beta/.cache/nim/expc_d/expc.nim.c:111:23: error: ‘ompsize’ undeclared (first use in this function)
111 | T1_[0] = nimIntToStr(ompsize`gensym178008);
| ^~~~~~~
/home/beta/.cache/nim/expc_d/expc.nim.c:111:30: error: expected ‘)’ before ‘gensym178008’
111 | T1_[0] = nimIntToStr(ompsize`gensym178008);
| ^~~~~~~~~~~~~
| )
The text was updated successfully, but these errors were encountered:
My workaround for #9365 relied on stable Nim->C symbols and needed to be updated after #11985.
I would use {.exportc.} in the affected place to ensure Nim->C symbol mapping.
Unfortunately, {.exportc.} variables are not properly generated anymore after #11985
Test case:
The text was updated successfully, but these errors were encountered: