why are many procs annotated with "rtl, extern: "nos$1" (or similar) ?

is this only useful for windows?

is there a better way, where this could be automatically done in a more robust 
way? in particular, the name

This can cause other issues, eg

  * 
[https://github.com/nim-lang/Nim/issues/8360](https://github.com/nim-lang/Nim/issues/8360)
 (after reduction from a more complex case) where root cause is user forgetting 
to modify extern: "nos$1" to something like extern: "nos$1myOverload" in case 
of overload);



couldn't that be done automatically by compiler since it could just use 
mangling instead?

  * 
[https://github.com/nim-lang/Nim/issues/8303](https://github.com/nim-lang/Nim/issues/8303)



here the error was different, it makes code that relies on map not work 
because, depending on compiler flags (or, when ran on appveyor), the symbol 
becomes cdecl, hence doesn't work with map

Reply via email to