[CM] S7 integrated in TIC-80, and bug reports

David St-Hilaire sthilaire.david at gmail.com
Thu Feb 2 12:09:58 PST 2023

About noreturn, it seems it didn't work anymore (probably because it is now
using C23) so I locally defined it to nothing, but I don't know how to make
it better. I'm a bit stuck with the rasberry pi baremetal compilation
issues like this:

/__w/TIC-80/TIC-80/vendor/s7/s7.c:375:25: error: unknown type name
  375 |   #define Jmp_Buf       sigjmp_buf
      |                         ^~~~~~~~~~

It seems that I need to get these platforms to use the other set of
"Jmp_Buf" and friends definitions but I don't know how to distinguish those
platforms... Any suggestions?


On Thu, Feb 2, 2023 at 3:06 PM <bil at ccrma.stanford.edu> wrote:

> I forgot to say that I get this from the repl:
> (define-macro (test x . args) `(list ,@(map car args)))
> (test 10 ('x 1) ('y 2))
> '(x y)
> On the noreturn problem, I'm using this:
> #ifdef _MSC_VER
>    #define noreturn _Noreturn /* deprecated in C23 */
> ...
> which I got from somewhere online.  I wonder what the correct code is.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20230202/c8eb121b/attachment-0001.html>

More information about the Cmdist mailing list