Skip to content
New issue

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

Linker error with closures #209

Closed
dom96 opened this issue Sep 27, 2012 · 0 comments
Closed

Linker error with closures #209

dom96 opened this issue Sep 27, 2012 · 0 comments

Comments

@dom96
Copy link
Contributor

dom96 commented Sep 27, 2012

https://github.com/nimrod-code/nimbuild/blob/master/builder.nim fails with:

/home/dom/code/nimrod/nimbuild/nimcache/builder.o: In function `open_157003':
builder.c:(.text+0xabdd): undefined reference to `HEX3Aanonymous_150855'
collect2: error: ld returned 1 exit status

Works in release mode however.

@Araq Araq closed this as completed Oct 7, 2012
Araq pushed a commit that referenced this issue Apr 16, 2020
* add test
* add changelod entry
Co-authored-by: cooldome <ariabushenko@bk.ru>
narimiran pushed a commit that referenced this issue May 18, 2020
* add test
* add changelod entry
Co-authored-by: cooldome <ariabushenko@bk.ru>

(cherry picked from commit 9295251)
Clyybber pushed a commit to Clyybber/Nim that referenced this issue Feb 9, 2022
209: Refactor active configuration handing r=saem a=haxscramper

- Move active configuration handing into a separate type that should
  contain all the required configuration parameters. Use this type in
  `ConfigRef` module, and use accessor procs for getting and setting values
  of different options, thus removing unguarded access for fields in a
  number of cases.
- Move report kind and category enums into `report_enums` in order to make
  them accessible from the `in_options` - it must be a lightweight
  dependency since it is supposed to be reused by other tools, like
  testament, that have to directly interact with the compiler.

Closes nim-works/nimskull#158

Co-authored-by: haxscramper <haxscramper@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants