jakt icon indicating copy to clipboard operation
jakt copied to clipboard

Running cat program fails with `call to 'fclose' is ambiguous`

Open sigmaSd opened this issue 2 years ago • 1 comments

Running cat program fails with call to 'fclose' is ambiguous

The problem is that

  • in codgen an extern deceleration is added for fclose
  • runtime also exports all stdio functions including fclose

Nb: fclose is not the only extern function affected

sigmaSd avatar Jun 07 '22 09:06 sigmaSd

I guess its on purpose, there is also cat-std

sigmaSd avatar Jun 07 '22 09:06 sigmaSd

unable to reproduce on mac as of 1ea81c6. can users of other OSes comment on their experience?

lanmonster avatar Sep 01 '22 15:09 lanmonster