redefinition of 'GC' as different kind of symbol, on Linux #719
-
Issue DescriptionSymbol Reproduction StepsFor example jank health checkStack traceNo response OS Version InformationUbuntu 24.04 I acknowledge that:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
|
Ah, that's an unfortunate C naming collision. Does this help you? https://github.com/bdwgc/bdwgc/blob/master/include/gc/gc_cpp.h#L249 It could be that jank needs to use that internally, in the PCH, etc. But maybe you can get away with defining it yourself? If you try to define this and still can't compile, I'm open to defining it in jank and then updating our usages of |
Beta Was this translation helpful? Give feedback.
Ah, that's an unfortunate C naming collision. Does this help you? https://github.com/bdwgc/bdwgc/blob/master/include/gc/gc_cpp.h#L249
It could be that jank needs to use that internally, in the PCH, etc. But maybe you can get away with defining it yourself?
If you try to define this and still can't compile, I'm open to defining it in jank and then updating our usages of
GCto beUseGC. If you want to make a PR for that, even better.