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
The prototype of reallocarray in the stdlib.h of at least some versions (Ubuntu?) of glibc 2.35 causes an interesting problem... the function is mentioned in its own __attr_dealloc attribute. The header breaks the reference cycle by prototyping the function twice: once with plain free declared as the dealloc function, and once then with reallocarray. This is not being merged correctly by CIL.
So really this is a CIL bug -- but my fork doesn't have its own issue tracker, and I don't want to report it upstream now that Gabriel has said he considers it unmaintained, so recording the bug here for now.
The text was updated successfully, but these errors were encountered:
The prototype of
reallocarray
in thestdlib.h
of at least some versions (Ubuntu?) of glibc 2.35 causes an interesting problem... the function is mentioned in its own__attr_dealloc
attribute. The header breaks the reference cycle by prototyping the function twice: once with plainfree
declared as the dealloc function, and once then withreallocarray
. This is not being merged correctly by CIL.So really this is a CIL bug -- but my fork doesn't have its own issue tracker, and I don't want to report it upstream now that Gabriel has said he considers it unmaintained, so recording the bug here for now.
The text was updated successfully, but these errors were encountered: