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
Felix currently translates RO and WO pointers to plain RW pointers in some lowering routine so the back end only has to deal with one kind of pointer. Normally we hack all pointers to non-const. However, this fails when the type is part of a function signature, which are not forgiving. In particular an expected C type like
void (*)(int const*)
will not match a felix generated type
void (*)(int *)
This can be fixed by allowing RO pointers to get through to the back end, and handling stuff there.
The text was updated successfully, but these errors were encountered:
Felix currently translates RO and WO pointers to plain RW pointers in some lowering routine so the back end only has to deal with one kind of pointer. Normally we hack all pointers to non-const. However, this fails when the type is part of a function signature, which are not forgiving. In particular an expected C type like
void (*)(int const*)
will not match a felix generated type
void (*)(int *)
This can be fixed by allowing RO pointers to get through to the back end, and handling stuff there.
The text was updated successfully, but these errors were encountered: