root@hauki-x86:~/mquickjs# ./build_os.sh
-> [LINT] Tarkistetaan kernel.js syntaksi...
-> [LINT] JS Syntaksi OK!
-> [HEX] Muunnetaan kernel.js C-headeriksi (kernel_js_code.h)...
-> KC$C$nnetC$C$n C-kirjasto ja ASM...
-> KC$C$nnetC$C$n MQuickJS ydin...
-> KC$C$nnetC$C$n PikaPython ydin...
-> KC$C$nnetC$C$n Hauki OS C-Kernel...
kernel_js.c: In function c_get_fat:
kernel_js.c:126:3: warning: this if clause does not guard... [-Wmisleading-inde
ntation]
126 | if (!c_ata_read(fat_lba + sec, ata_buf)) return 0; return
ata_buf[ent] | (ata_buf[ent+1]<<8);
| ^~
kernel_js.c:126:54: note: ...this statement, but the latter is misleadingly
indented as if it were guarded by the if
126 | if (!c_ata_read(fat_lba + sec, ata_buf)) return 0; return
ata_buf[ent] | (ata_buf[ent+1]<<8);
| ^~~~~~
kernel_js.c: In function js_load:
kernel_js.c:214:3: warning: this if clause does not guard... [-Wmisleading-inde
ntation]
214 | if (argc < 1) return JS_UNDEFINED; int op = 0; JS_ToInt32(ctx, &op,
argv[0]);
| ^~
kernel_js.c:214:38: note: ...this statement, but the latter is misleadingly
indented as if it were guarded by the if
214 | if (argc < 1) return JS_UNDEFINED; int op = 0; JS_ToInt32(ctx, &op,
argv[0]);
| ^~~
-> LinkitetC$C$n lopullinen binC$C$ri...
-> Build OK!
root@hauki-x86:~/mquickjs#