IRC channel logs

2025-05-14.log

back to list of logs

<oriansj>stikonas: I think I figured out a solution to the M2libc/M2-Mesoplanet include problem
<oriansj>it'll stop loops but allow multiple reading of files
<oriansj>it has one minor bug if you -f foo.a and later #include "foo.a" but that shouldn't ever happen in reasonable code
<oriansj>and of course emacs decides to run out of RAM right after I post an update...
<stikonas>oriansj: hmm, stage0-posix still complains with <stdio.h>:26:struct '__IO_FILE' already has definition.Subprocess: ../x86/bin/M2-Planet error
<oriansj>stikonas: #ifndef _STDIO_H should have prevented multiple duplicates
<oriansj>so we probably have a bug in the nested #if logic
<matrix_bridge><Andrius Štikonas> oriansj: not sure if this applies to Mesoplanet but M2-Planet had this issue https://github.com/oriansj/M2-Planet/pull/150/commits/f737ccc1b457915b8547a7f089bf388809831a54
<matrix_bridge><Andrius Štikonas> But might be different in M2-Mesoplanet...
<oriansj>well M2-Mesoplanet should be filtering the macro-expanded C sent to M2-Planet to reduce the complexity it has to support