Project fails to build #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The project fails to build on GCC 16.1.1 with the following errors:
Fixed! All build errors resolved:
Struct/members:
uint8_t *datafield toMidiFileInfostructevent->data[j]→ individualdata1/data2access across all filesPointer types:
MidiFileInfo *→MidiParser *formidi_get_instrument(),midi_remove_event(),midi_duplicate_event()— UI now delegates through parserncurses:
mvaddstr()format string calls →mvprintw()(the macro only takesy, x, str)Undefined symbols:
#ifndef DEL #define DEL 127 #endifguardpynctrace()/pynctrace2()calls (ghost functions), replaced with directgetch()EditorStatetypedef fromui.c(now only inui.h)ts/lines_neededvariablesSign comparison:
int event_indexvssize_t event_countcomparisons with proper castsArchitecture:
main()intosrc/main.c— UI layer is now cleanui_set_midi_info()/ui_set_parser()/ui_is_editing()helpersmain.oBuild passes cleanly now ✅