Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 909663 Details for
Bug 943863
media-sound/abcmidi-2024.10.10 - [libtool] [gcc-15] midifile.c: error: too many arguments to function mferror
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:abcmidi-2024.10.10:20241118-211722.log
media-sound:abcmidi-2024.10.10:20241118-211722.log (text/plain), 74.49 KB, created by
Toralf Förster
on 2024-11-18 21:33:40 UTC
(
hide
)
Description:
media-sound:abcmidi-2024.10.10:20241118-211722.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-11-18 21:33:40 UTC
Size:
74.49 KB
patch
obsolete
> * Package: media-sound/abcmidi-2024.10.10:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking abcMIDI-2024.10.10.zip to /var/tmp/portage/media-sound/abcmidi-2024.10.10/work >>>> Source unpacked in /var/tmp/portage/media-sound/abcmidi-2024.10.10/work >>>> Preparing source in /var/tmp/portage/media-sound/abcmidi-2024.10.10/work/abcmidi ... > * Running eautoreconf in '/var/tmp/portage/media-sound/abcmidi-2024.10.10/work/abcmidi' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/media-sound/abcmidi-2024.10.10/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader --force' ... > [ ok ] > * Running elibtoolize in: abcmidi/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/abcmidi-2024.10.10/work/abcmidi ... > * econf: updating abcmidi/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating abcmidi/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/abcmidi-2024.10.10 --htmldir=/usr/share/doc/abcmidi-2024.10.10/html --libdir=/usr/lib64 >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking for main in -lm... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for stdlib.h... (cached) yes >checking for string.h... (cached) yes >checking for size_t... yes >checking for error_at_line... yes >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for GNU libc compatible malloc... yes >checking for strcasecmp... yes >checking for strchr... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: creating config.h >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/abcmidi-2024.10.10/work/abcmidi ... >make -O -j4 >x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -I. -c -o midifile.o midifile.c >midifile.c: In function âmfreadâ: >midifile.c:155:5: error: too many arguments to function âmferrorâ > 155 | mferror("mfread() called without setting Mf_getc"); > | ^~~~~~~ >In file included from midifile.c:60: >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c: In function âmfreadtrkâ: >midifile.c:166:6: warning: old-style function definition [-Wold-style-definition] > 166 | void mfreadtrk(itrack) /* The only non-static function in this file. */ > | ^~~~~~~~~ >midifile.c:171:5: error: too many arguments to function âmferrorâ > 171 | mferror("mfprocess() called without setting Mf_getc"); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c: In function âreadmtâ: >midifile.c:193:1: warning: old-style function definition [-Wold-style-definition] > 193 | readmt(s) /* read through the "MThd" or "MTrk" header string */ > | ^~~~~~ >midifile.c:206:7: error: too many arguments to function âmferrorâ > 206 | mferror(buff); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c: In function âegetcâ: >midifile.c:218:5: error: too many arguments to function âmferrorâ > 218 | mferror("premature EOF"); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c: In function âreadheaderâ: >midifile.c:239:6: error: too many arguments to function âMf_headerâ > 239 | (*Mf_header)(format,ntrks,division); > | ~^~~~~~~~~~~ >midifile.c: In function âskiptrackâ: >midifile.c:254:19: error: too many arguments to function âmferrorâ > 254 | if (byte == EOF) {mferror("premature EOF\n"); return(0);} > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c: In function âreadtrackâ: >midifile.c:294:30: error: too many arguments to function âmferrorâ > 294 | mferror("bad time increment"); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c:301:7: error: too many arguments to function âmferrorâ > 301 | mferror("didn't find expected continuation of a sysex"); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c:308:9: error: too many arguments to function âmferrorâ > 308 | mferror("unexpected running status"); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c:327:9: error: too many arguments to function âchanmessageâ > 327 | chanmessage( laststatus, c1, (needed>1) ? egetc() : 0 ); > | ^~~~~~~~~~~ >midifile.c:131:13: note: declared here > 131 | static void chanmessage(); > | ^~~~~~~~~~~ >midifile.c:331:9: error: too many arguments to function âchanmessageâ > 331 | chanmessage( status, c1, (needed>1) ? egetc() : 0 ); > | ^~~~~~~~~~~ >midifile.c:131:13: note: declared here > 131 | static void chanmessage(); > | ^~~~~~~~~~~ >midifile.c:346:9: error: too many arguments to function âmsgaddâ > 346 | msgadd(egetc()); > | ^~~~~~ >midifile.c:133:13: note: declared here > 133 | static void msgadd(); > | ^~~~~~ >midifile.c:348:7: error: too many arguments to function âmetaeventâ > 348 | metaevent(type); > | ^~~~~~~~~ >midifile.c:129:13: note: declared here > 129 | static void metaevent(); > | ^~~~~~~~~ >midifile.c:356:7: error: too many arguments to function âmsgaddâ > 356 | msgadd(0xf0); > | ^~~~~~ >midifile.c:133:13: note: declared here > 133 | static void msgadd(); > | ^~~~~~ >midifile.c:359:9: error: too many arguments to function âmsgaddâ > 359 | msgadd(c=egetc()); > | ^~~~~~ >midifile.c:133:13: note: declared here > 133 | static void msgadd(); > | ^~~~~~ >midifile.c:376:9: error: too many arguments to function âmsgaddâ > 376 | msgadd(c=egetc()); > | ^~~~~~ >midifile.c:133:13: note: declared here > 133 | static void msgadd(); > | ^~~~~~ >midifile.c:380:12: error: too many arguments to function âMf_arbitraryâ > 380 | (*Mf_arbitrary)(msgleng(),msg()); > | ~^~~~~~~~~~~~~~ >midifile.c:388:7: error: too many arguments to function âbadbyteâ > 388 | badbyte(c); > | ^~~~~~~ >midifile.c:128:13: note: declared here > 128 | static void badbyte(); > | ^~~~~~~ >midifile.c: In function âbadbyteâ: >midifile.c:398:1: warning: old-style function definition [-Wold-style-definition] > 398 | badbyte(c) > | ^~~~~~~ >midifile.c:404:3: error: too many arguments to function âmferrorâ > 404 | mferror(buff); > | ^~~~~~~ >midifile.h:40:6: note: declared here > 40 | void mferror(); > | ^~~~~~~ >midifile.c: In function âmetaeventâ: >midifile.c:408:1: warning: old-style function definition [-Wold-style-definition] > 408 | metaevent(type) > | ^~~~~~~~~ >midifile.c:422:20: error: too many arguments to function âto16bitâ > 422 | (*Mf_seqnum)(to16bit(m[0],m[1])); > | ^~~~~~~ >midifile.c:121:12: note: declared here > 121 | static int to16bit(); > | ^~~~~~~ >midifile.c:422:8: error: too many arguments to function âMf_seqnumâ > 422 | (*Mf_seqnum)(to16bit(m[0],m[1])); > | ~^~~~~~~~~~~ >midifile.c:442:8: error: too many arguments to function âMf_textâ > 442 | (*Mf_text)(type,leng,m); > | ~^~~~~~~~~ >midifile.c:450:19: error: too many arguments to function âto32bitâ > 450 | (*Mf_tempo)(to32bit(0,m[0],m[1],m[2])); > | ^~~~~~~ >midifile.c:119:13: note: declared here > 119 | static long to32bit(); > | ^~~~~~~ >midifile.c:450:8: error: too many arguments to function âMf_tempoâ > 450 | (*Mf_tempo)(to32bit(0,m[0],m[1],m[2])); > | ~^~~~~~~~~~ >midifile.c:454:8: error: too many arguments to function âMf_smpteâ > 454 | (*Mf_smpte)(m[0],m[1],m[2],m[3],m[4]); > | ~^~~~~~~~~~ >midifile.c:458:8: error: too many arguments to function âMf_timesigâ > 458 | (*Mf_timesig)(m[0],m[1],m[2],m[3]); > | ~^~~~~~~~~~~~ >midifile.c:462:8: error: too many arguments to function âMf_keysigâ > 462 | (*Mf_keysig)(m[0],m[1]); > | ~^~~~~~~~~~~ >midifile.c:466:8: error: too many arguments to function âMf_seqspecificâ > 466 | (*Mf_seqspecific)(leng,m); > | ~^~~~~~~~~~~~~~~~ >midifile.c:470:8: error: too many arguments to function âMf_metamiscâ > 470 | (*Mf_metamisc)(type,leng,m); > | ~^~~~~~~~~~~~~ >midifile.c: In function âsysexâ: >midifile.c:478:6: error: too many arguments to function âMf_sysexâ > 478 | (*Mf_sysex)(msgleng(),msg()); > | ~^~~~~~~~~~ >midifile.c: In function âchanmessageâ: >midifile.c:482:1: warning: old-style function definition [-Wold-style-definition] > 482 | chanmessage(status,c1,c2) > | ^~~~~~~~~~~ >midifile.c:491:8: error: too many arguments to function âMf_noteoffâ > 491 | (*Mf_noteoff)(chan,c1,c2); > | ~^~~~~~~~~~~~ >midifile.c:495:8: error: too many arguments to function âMf_noteonâ > 495 | (*Mf_noteon)(chan,c1,c2); > | ~^~~~~~~~~~~ >midifile.c:499:8: error: too many arguments to function âMf_pressureâ > 499 | (*Mf_pressure)(chan,c1,c2); > | ~^~~~~~~~~~~~~ >midifile.c:503:8: error: too many arguments to function âMf_parameterâ > 503 | (*Mf_parameter)(chan,c1,c2); > | ~^~~~~~~~~~~~~~ >midifile.c:507:8: error: too many arguments to function âMf_pitchbendâ > 507 | (*Mf_pitchbend)(chan,c1,c2); > | ~^~~~~~~~~~~~~~ >midifile.c:511:8: error: too many arguments to function âMf_programâ > 511 | (*Mf_program)(chan,c1); > | ~^~~~~~~~~~~~ >midifile.c:515:8: error: too many arguments to function âMf_chanpressureâ > 515 | (*Mf_chanpressure)(chan,c1); > | ~^~~~~~~~~~~~~~~~~ >midifile.c: In function âto32bitâ: >midifile.c:542:1: warning: old-style function definition [-Wold-style-definition] > 542 | to32bit(c1,c2,c3,c4) > | ^~~~~~~ >midifile.c: In function âto16bitâ: >midifile.c:555:1: warning: old-style function definition [-Wold-style-definition] > 555 | to16bit(c1,c2) > | ^~~~~~~ >midifile.c: In function âread32bitâ: >midifile.c:570:10: error: too many arguments to function âto32bitâ > 570 | return to32bit(c1,c2,c3,c4); > | ^~~~~~~ >midifile.c:542:1: note: declared here > 542 | to32bit(c1,c2,c3,c4) > | ^~~~~~~ >midifile.c: In function âread16bitâ: >midifile.c:579:10: error: too many arguments to function âto16bitâ > 579 | return to16bit(c1,c2); > | ^~~~~~~ >midifile.c:555:1: note: declared here > 555 | to16bit(c1,c2) > | ^~~~~~~ >midifile.c: In function âmferrorâ: >midifile.c:583:6: warning: old-style function definition [-Wold-style-definition] > 583 | void mferror(s) > | ^~~~~~~ >midifile.c:585:1: error: number of arguments doesnât match prototype > 585 | { > | ^ >midifile.h:40:6: error: prototype declaration > 40 | void mferror(); > | ^~~~~~~ >midifile.c:587:6: error: too many arguments to function âMf_errorâ > 587 | (*Mf_error)(s); > | ~^~~~~~~~~~ >midifile.c: In function âmsgaddâ: >midifile.c:623:1: warning: old-style function definition [-Wold-style-definition] > 623 | msgadd(c) > | ^~~~~~ >midifile.c: In function âbiggermsgâ: >midifile.c:646:5: error: too many arguments to function âmferrorâ > 646 | mferror("malloc error!"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >midifile.c: In function âmfwriteâ: >midifile.c:690:1: warning: old-style function definition [-Wold-style-definition] > 690 | mfwrite(format,ntracks,division,fp) > | ^~~~~~~ >midifile.c:693:1: error: number of arguments doesnât match prototype > 693 | { > | ^ >midifile.h:35:6: error: prototype declaration > 35 | void mfwrite(); > | ^~~~~~~ >midifile.c:697:7: error: too many arguments to function âmferrorâ > 697 | mferror("mf_write() called without setting Mf_putc"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >midifile.c:700:7: error: too many arguments to function âmferrorâ > 700 | mferror("mf_write() called without setting Mf_writetrack"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >midifile.c:703:5: error: too many arguments to function âmf_write_header_chunkâ > 703 | mf_write_header_chunk(format,ntracks,division); > | ^~~~~~~~~~~~~~~~~~~~~ >midifile.c:136:13: note: declared here > 136 | static void mf_write_header_chunk(); > | ^~~~~~~~~~~~~~~~~~~~~ >midifile.c:713:9: error: too many arguments to function âmf_write_track_chunkâ > 713 | mf_write_track_chunk(i,fp); > | ^~~~~~~~~~~~~~~~~~~~ >midifile.c:135:13: note: declared here > 135 | static void mf_write_track_chunk(); > | ^~~~~~~~~~~~~~~~~~~~ >midifile.c: In function ânullputcâ: >midifile.c:720:5: warning: old-style function definition [-Wold-style-definition] > 720 | int nullputc(c) > | ^~~~~~~~ >midifile.c: In function âmf_write_track_chunkâ: >midifile.c:732:1: warning: old-style function definition [-Wold-style-definition] > 732 | mf_write_track_chunk(which_track,fp) > | ^~~~~~~~~~~~~~~~~~~~ >midifile.c:798:3: error: too many arguments to function âwrite32bitâ > 798 | write32bit(trkhdr); > | ^~~~~~~~~~ >midifile.c:138:13: note: declared here > 138 | static void write32bit(); > | ^~~~~~~~~~ >midifile.c:799:3: error: too many arguments to function âwrite32bitâ > 799 | write32bit(trklength); > | ^~~~~~~~~~ >midifile.c:138:13: note: declared here > 138 | static void write32bit(); > | ^~~~~~~~~~ >midifile.c:805:19: error: too many arguments to function âMf_writetrackâ > 805 | endspace = (*Mf_writetrack)(which_track); > | ~^~~~~~~~~~~~~~~ >midifile.c:809:3: error: too many arguments to function âWriteVarLenâ > 809 | WriteVarLen(endspace); > | ^~~~~~~~~~~ >midifile.c:137:13: note: declared here > 137 | static void WriteVarLen(); > | ^~~~~~~~~~~ >midifile.c:811:3: error: too many arguments to function âeputcâ > 811 | eputc(meta_event); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:812:3: error: too many arguments to function âeputcâ > 812 | eputc(end_of_track); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:814:4: error: too many arguments to function âeputcâ > 814 | eputc(0); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:831:7: error: too many arguments to function âmferrorâ > 831 | mferror("error seeking during final stage of write"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >midifile.c:836:3: error: too many arguments to function âwrite32bitâ > 836 | write32bit(trkhdr); > | ^~~~~~~~~~ >midifile.c:138:13: note: declared here > 138 | static void write32bit(); > | ^~~~~~~~~~ >midifile.c:837:3: error: too many arguments to function âwrite32bitâ > 837 | write32bit(trklength); > | ^~~~~~~~~~ >midifile.c:138:13: note: declared here > 138 | static void write32bit(); > | ^~~~~~~~~~ >midifile.c: In function âmf_write_header_chunkâ: >midifile.c:845:1: warning: old-style function definition [-Wold-style-definition] > 845 | mf_write_header_chunk(format,ntracks,division) > | ^~~~~~~~~~~~~~~~~~~~~ >midifile.c:855:5: error: too many arguments to function âwrite32bitâ > 855 | write32bit(ident); > | ^~~~~~~~~~ >midifile.c:138:13: note: declared here > 138 | static void write32bit(); > | ^~~~~~~~~~ >midifile.c:856:5: error: too many arguments to function âwrite32bitâ > 856 | write32bit(length); > | ^~~~~~~~~~ >midifile.c:138:13: note: declared here > 138 | static void write32bit(); > | ^~~~~~~~~~ >midifile.c:857:5: error: too many arguments to function âwrite16bitâ > 857 | write16bit(format); > | ^~~~~~~~~~ >midifile.c:139:13: note: declared here > 139 | static void write16bit(); > | ^~~~~~~~~~ >midifile.c:858:5: error: too many arguments to function âwrite16bitâ > 858 | write16bit(ntracks); > | ^~~~~~~~~~ >midifile.c:139:13: note: declared here > 139 | static void write16bit(); > | ^~~~~~~~~~ >midifile.c:859:5: error: too many arguments to function âwrite16bitâ > 859 | write16bit(division); > | ^~~~~~~~~~ >midifile.c:139:13: note: declared here > 139 | static void write16bit(); > | ^~~~~~~~~~ >midifile.c: In function âmf_write_midi_eventâ: >midifile.c:882:1: warning: old-style function definition [-Wold-style-definition] > 882 | mf_write_midi_event(delta_time, type, chan, data, size) > | ^~~~~~~~~~~~~~~~~~~ >midifile.c:887:1: error: number of arguments doesnât match prototype > 887 | { > | ^ >midifile.h:38:5: error: prototype declaration > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >midifile.c:891:5: error: too many arguments to function âWriteVarLenâ > 891 | WriteVarLen(delta_time); > | ^~~~~~~~~~~ >midifile.c:137:13: note: declared here > 137 | static void WriteVarLen(); > | ^~~~~~~~~~~ >midifile.c:898:7: error: too many arguments to function âmferrorâ > 898 | mferror("error: MIDI channel greater than 16"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >midifile.c:901:5: error: too many arguments to function âeputcâ > 901 | eputc(c); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:905:3: error: too many arguments to function âeputcâ > 905 | eputc(data[i]); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âmf_write_meta_eventâ: >midifile.c:925:1: warning: old-style function definition [-Wold-style-definition] > 925 | mf_write_meta_event(delta_time, type, data, size) > | ^~~~~~~~~~~~~~~~~~~ >midifile.c:930:1: error: number of arguments doesnât match prototype > 930 | { > | ^ >midifile.h:37:5: error: prototype declaration > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >midifile.c:933:5: error: too many arguments to function âWriteVarLenâ > 933 | WriteVarLen(delta_time); > | ^~~~~~~~~~~ >midifile.c:137:13: note: declared here > 137 | static void WriteVarLen(); > | ^~~~~~~~~~~ >midifile.c:936:5: error: too many arguments to function âeputcâ > 936 | eputc(meta_event); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:939:5: error: too many arguments to function âeputcâ > 939 | eputc(type); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:942:5: error: too many arguments to function âWriteVarLenâ > 942 | WriteVarLen((long)size); > | ^~~~~~~~~~~ >midifile.c:137:13: note: declared here > 137 | static void WriteVarLen(); > | ^~~~~~~~~~~ >midifile.c:946:6: error: too many arguments to function âeputcâ > 946 | if(eputc((data[i] & 0xff)) != (data[i] & 0xff)) > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âmf_write_tempoâ: >midifile.c:953:1: warning: old-style function definition [-Wold-style-definition] > 953 | mf_write_tempo(tempo) > | ^~~~~~~~~~~~~~ >midifile.c:955:1: error: number of arguments doesnât match prototype > 955 | { > | ^ >midifile.h:39:6: error: prototype declaration > 39 | void mf_write_tempo(); > | ^~~~~~~~~~~~~~ >midifile.c:959:5: error: too many arguments to function âeputcâ > 959 | eputc(0); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:960:5: error: too many arguments to function âeputcâ > 960 | eputc(meta_event); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:961:5: error: too many arguments to function âeputcâ > 961 | eputc(set_tempo); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:963:5: error: too many arguments to function âeputcâ > 963 | eputc(3); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:964:5: error: too many arguments to function âeputcâ > 964 | eputc((char)(0xff & (tempo >> 16))); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:965:5: error: too many arguments to function âeputcâ > 965 | eputc((char)(0xff & (tempo >> 8))); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:966:5: error: too many arguments to function âeputcâ > 966 | eputc((char)(0xff & tempo)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âmf_sec2ticksâ: >midifile.c:978:1: warning: old-style function definition [-Wold-style-definition] > 978 | mf_sec2ticks(secs,division,tempo) > | ^~~~~~~~~~~~ >midifile.c:982:1: error: number of arguments doesnât match prototype > 982 | { > | ^ >midifile.h:34:6: error: prototype declaration > 34 | long mf_sec2ticks(); > | ^~~~~~~~~~~~ >midifile.c: In function âWriteVarLenâ: >midifile.c:1001:1: warning: old-style function definition [-Wold-style-definition] > 1001 | WriteVarLen(value) > | ^~~~~~~~~~~ >midifile.c:1014:8: error: too many arguments to function âeputcâ > 1014 | eputc((char)(buffer & 0xff)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âsingle_note_tuning_changeâ: >midifile.c:1029:1: error: too many arguments to function âeputcâ > 1029 | eputc(0); /* varinum delta_t (time to next event) */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1030:1: error: too many arguments to function âeputcâ > 1030 | eputc(0xf0); /* sysex initiation */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1031:2: error: too many arguments to function âeputcâ > 1031 | eputc(11); /* 11 bytes included in sysex */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1032:1: error: too many arguments to function âeputcâ > 1032 | eputc(127); /* universal sysex command (0x7f) */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1033:1: error: too many arguments to function âeputcâ > 1033 | eputc(0); /* device id */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1034:1: error: too many arguments to function âeputcâ > 1034 | eputc(8); /* midi tuning */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1035:1: error: too many arguments to function âeputcâ > 1035 | eputc(2); /* note change */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1036:1: error: too many arguments to function âeputcâ > 1036 | eputc(0); /* program number 0 - 127 */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1037:1: error: too many arguments to function âeputcâ > 1037 | eputc(1); /* only one change */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1039:1: error: too many arguments to function âeputcâ > 1039 | eputc(kk); /* MIDI key 0 - 127 */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1049:1: error: too many arguments to function âeputcâ > 1049 | eputc(xx); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1050:1: error: too many arguments to function âeputcâ > 1050 | eputc(yy); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1051:1: error: too many arguments to function âeputcâ > 1051 | eputc(zz); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1052:1: error: too many arguments to function âeputcâ > 1052 | eputc(247); /* 0xf7 terminates sysex command */ > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âmf_ticks2secâ: >midifile.c:1062:1: warning: old-style function definition [-Wold-style-definition] > 1062 | mf_ticks2sec(ticks,division,tempo) > | ^~~~~~~~~~~~ >midifile.c:1066:1: error: number of arguments doesnât match prototype > 1066 | { > | ^ >midifile.h:33:7: error: prototype declaration > 33 | float mf_ticks2sec(); > | ^~~~~~~~~~~~ >midifile.c: In function âwrite32bitâ: >midifile.c:1093:1: warning: old-style function definition [-Wold-style-definition] > 1093 | write32bit(data) > | ^~~~~~~~~~ >midifile.c:1096:5: error: too many arguments to function âeputcâ > 1096 | eputc((char)((data >> 24) & 0xff)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1097:5: error: too many arguments to function âeputcâ > 1097 | eputc((char)((data >> 16) & 0xff)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1098:5: error: too many arguments to function âeputcâ > 1098 | eputc((char)((data >> 8 ) & 0xff)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1099:5: error: too many arguments to function âeputcâ > 1099 | eputc((char)(data & 0xff)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âwrite16bitâ: >midifile.c:1103:1: warning: old-style function definition [-Wold-style-definition] > 1103 | write16bit(data) > | ^~~~~~~~~~ >midifile.c:1106:5: error: too many arguments to function âeputcâ > 1106 | eputc((char)((data & 0xff00) >> 8)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c:1107:5: error: too many arguments to function âeputcâ > 1107 | eputc((char)(data & 0xff)); > | ^~~~~ >midifile.c:141:12: note: declared here > 141 | static int eputc(); > | ^~~~~ >midifile.c: In function âeputcâ: >midifile.c:1111:12: warning: old-style function definition [-Wold-style-definition] > 1111 | static int eputc(c) > | ^~~~~ >midifile.c:1118:5: error: too many arguments to function âmferrorâ > 1118 | mferror("Mf_putc undefined"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >midifile.c:1122:17: error: too many arguments to function âMf_putcâ > 1122 | return_val = (*Mf_putc)(c); > | ~^~~~~~~~~ >midifile.c:1125:5: error: too many arguments to function âmferrorâ > 1125 | mferror("error writing"); > | ^~~~~~~ >midifile.c:583:6: note: declared here > 583 | void mferror(s) > | ^~~~~~~ >make: *** [<builtin>: midifile.o] Error 1 >make: *** Waiting for unfinished jobs.... >x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -I. -c -o parseabc.o parseabc.c >parseabc.c: In function âcheckmallocâ: >parseabc.c:142:1: warning: old-style function definition [-Wold-style-definition] > 142 | checkmalloc (bytes) > | ^~~~~~~~~~~ >parseabc.c: In function âaddstringâ: >parseabc.c:158:1: warning: old-style function definition [-Wold-style-definition] > 158 | addstring (s) > | ^~~~~~~~~ >parseabc.c: In function âconcatenatestringâ: >parseabc.c:170:8: warning: old-style function definition [-Wold-style-definition] > 170 | char * concatenatestring(s1,s2) > | ^~~~~~~~~~~~~~~~~ >parseabc.c: In function âinitvstringâ: >parseabc.c:186:1: warning: old-style function definition [-Wold-style-definition] > 186 | initvstring (s) > | ^~~~~~~~~~~ >parseabc.c: In function âextendvstringâ: >parseabc.c:197:1: warning: old-style function definition [-Wold-style-definition] > 197 | extendvstring (s) > | ^~~~~~~~~~~~~ >parseabc.c: In function âaddchâ: >parseabc.c:218:1: warning: old-style function definition [-Wold-style-definition] > 218 | addch (ch, s) > | ^~~~~ >parseabc.c: In function âaddtextâ: >parseabc.c:233:1: warning: old-style function definition [-Wold-style-definition] > 233 | addtext (text, s) > | ^~~~~~~ >parseabc.c: In function âclearvstringâ: >parseabc.c:250:1: warning: old-style function definition [-Wold-style-definition] > 250 | clearvstring (s) > | ^~~~~~~~~~~~ >parseabc.c: In function âfreevstringâ: >parseabc.c:260:1: warning: old-style function definition [-Wold-style-definition] > 260 | freevstring (s) > | ^~~~~~~~~~~ >parseabc.c: In function âhandle_abc2midi_parserâ: >parseabc.c:289:6: warning: old-style function definition [-Wold-style-definition] > 289 | void handle_abc2midi_parser (line) > | ^~~~~~~~~~~~~~~~~~~~~~ >parseabc.c: In function âgetargâ: >parseabc.c:304:1: warning: old-style function definition [-Wold-style-definition] > 304 | getarg (option, argc, argv) > | ^~~~~~ >parseabc.c: In function âskipspaceâ: >parseabc.c:324:1: warning: old-style function definition [-Wold-style-definition] > 324 | skipspace (p) > | ^~~~~~~~~ >parseabc.c: In function âskiptospaceâ: >parseabc.c:333:1: warning: old-style function definition [-Wold-style-definition] > 333 | skiptospace (p) > | ^~~~~~~~~~~ >parseabc.c: In function âreadnumfâ: >parseabc.c:341:1: warning: old-style function definition [-Wold-style-definition] > 341 | readnumf (num) > | ^~~~~~~~ >parseabc.c: In function âreadsnumfâ: >parseabc.c:367:1: warning: old-style function definition [-Wold-style-definition] > 367 | readsnumf (s) > | ^~~~~~~~~ >parseabc.c: In function âreadnumpâ: >parseabc.c:387:1: warning: old-style function definition [-Wold-style-definition] > 387 | readnump (p) > | ^~~~~~~~ >parseabc.c: In function âreadsnumpâ: >parseabc.c:408:1: warning: old-style function definition [-Wold-style-definition] > 408 | readsnump (p) > | ^~~~~~~~~ >parseabc.c: In function âread_microtone_valueâ: >parseabc.c:615:1: warning: old-style function definition [-Wold-style-definition] > 615 | read_microtone_value (a, b, p) > | ^~~~~~~~~~~~~~~~~~~~ >parseabc.c: In function âismicrotoneâ: >parseabc.c:661:1: warning: old-style function definition [-Wold-style-definition] > 661 | ismicrotone (p, dir) > | ^~~~~~~~~~~ >parseabc.c: In function âreadwordâ: >parseabc.c:715:1: warning: old-style function definition [-Wold-style-definition] > 715 | readword (word, s) > | ^~~~~~~~ >parseabc.c: In function âreadword_with_â: >parseabc.c:746:1: warning: old-style function definition [-Wold-style-definition] > 746 | readword_with_ (word, s) > | ^~~~~~~~~~~~~~ >parseabc.c: In function âlcaseâ: >parseabc.c:773:1: warning: old-style function definition [-Wold-style-definition] > 773 | lcase (s) > | ^~~~~ >parseabc.c: In function âparseclefâ: >parseabc.c:984:1: warning: old-style function definition [-Wold-style-definition] > 984 | parseclef (s, word, gotclef, clefstr, newclef, gotoctave, octave) > | ^~~~~~~~~ >parseabc.c: In function âparsetransposeâ: >parseabc.c:1027:1: warning: old-style function definition [-Wold-style-definition] > 1027 | parsetranspose (s, word, gottranspose, transpose) > | ^~~~~~~~~~~~~~ >parseabc.c: In function âparseoctaveâ: >parseabc.c:1152:1: warning: old-style function definition [-Wold-style-definition] > 1152 | parseoctave (s, word, gotoctave, octave) > | ^~~~~~~~~~~ >parseabc.c: In function âparsenameâ: >parseabc.c:1230:1: warning: old-style function definition [-Wold-style-definition] > 1230 | parsename (s, gotname, namestring, maxsize) > | ^~~~~~~~~ >parseabc.c: In function âparsemiddleâ: >parseabc.c:1268:1: warning: old-style function definition [-Wold-style-definition] > 1268 | parsemiddle (s, word, gotmiddle, middlestring, maxsize) > | ^~~~~~~~~~~ >parseabc.c: In function âparseotherâ: >parseabc.c:1306:1: warning: old-style function definition [-Wold-style-definition] > 1306 | parseother (s, word, gotother, other, maxsize) /* [SS] 2011-04-18 */ > | ^~~~~~~~~~ >parseabc.c: In function âparsekeyâ: >parseabc.c:1397:1: warning: old-style function definition [-Wold-style-definition] > 1397 | parsekey (str) > | ^~~~~~~~ >parseabc.c: In function âparsevoiceâ: >parseabc.c:1687:1: warning: old-style function definition [-Wold-style-definition] > 1687 | parsevoice (s) > | ^~~~~~~~~~ >parseabc.c: In function âparsenoteâ: >parseabc.c:1777:1: warning: old-style function definition [-Wold-style-definition] > 1777 | parsenote (s) > | ^~~~~~~~~ >parseabc.c: In function âgetrepâ: >parseabc.c:1972:1: warning: old-style function definition [-Wold-style-definition] > 1972 | getrep (p, out) > | ^~~~~~ >parseabc.c: In function âcheckendâ: >parseabc.c:2028:1: warning: old-style function definition [-Wold-style-definition] > 2028 | checkend (s) > | ^~~~~~~~ >parseabc.c: In function âreadstrâ: >parseabc.c:2050:1: warning: old-style function definition [-Wold-style-definition] > 2050 | readstr (out, in, limit) > | ^~~~~~~ >parseabc.c: In function âreadalnâ: >parseabc.c:2070:5: warning: old-style function definition [-Wold-style-definition] > 2070 | int readaln (out, in, limit) > | ^~~~~~~ >parseabc.c: In function âparse_precommentâ: >parseabc.c:2090:1: warning: old-style function definition [-Wold-style-definition] > 2090 | parse_precomment (s) > | ^~~~~~~~~~~~~~~~ >parseabc.c: In function âparse_abc_includeâ: >parseabc.c:2112:8: warning: old-style function definition [-Wold-style-definition] > 2112 | FILE * parse_abc_include (s) > | ^~~~~~~~~~~~~~~~~ >parseabc.c: In function âparse_tempoâ: >parseabc.c:2133:1: warning: old-style function definition [-Wold-style-definition] > 2133 | parse_tempo (place) > | ^~~~~~~~~~~ >parseabc.c: In function âappend_fieldcmdâ: >parseabc.c:2207:6: warning: old-style function definition [-Wold-style-definition] > 2207 | void append_fieldcmd (key, s) /* [SS] 2014-08-15 */ > | ^~~~~~~~~~~~~~~ >parseabc.c: In function âparsefieldâ: >parseabc.c:2381:1: warning: old-style function definition [-Wold-style-definition] > 2381 | parsefield (key, field) > | ^~~~~~~~~~ >parseabc.c: In function âparseinlinefieldâ: >parseabc.c:2640:1: warning: old-style function definition [-Wold-style-definition] > 2640 | parseinlinefield (p) > | ^~~~~~~~~~~~~~~~ >parseabc.c: In function âpitch2midiâ: >parseabc.c:2796:12: warning: old-style function definition [-Wold-style-definition] > 2796 | static int pitch2midi(note, accidental, mult, octave ) > | ^~~~~~~~~~ >parseabc.c: In function âparsemusicâ: >parseabc.c:2953:1: warning: old-style function definition [-Wold-style-definition] > 2953 | parsemusic (field) > | ^~~~~~~~~~ >parseabc.c: In function âparselineâ: >parseabc.c:3449:1: warning: old-style function definition [-Wold-style-definition] > 3449 | parseline (line) > | ^~~~~~~~~ >parseabc.c:3471:11: error: too many arguments to function âevent_temperamentâ > 3471 | event_temperament(line); > | ^~~~~~~~~~~~~~~~~ >In file included from parseabc.c:34: >parseabc.h:174:13: note: declared here > 174 | extern void event_temperament(); > | ^~~~~~~~~~~~~~~~~ >parseabc.c: In function âparsefileâ: >parseabc.c:3582:1: warning: old-style function definition [-Wold-style-definition] > 3582 | parsefile (name) > | ^~~~~~~~~ >parseabc.c:3592:1: error: number of arguments doesnât match prototype > 3592 | { > | ^ >parseabc.h:178:13: error: prototype declaration > 178 | extern void parsefile(); > | ^~~~~~~~~ >parseabc.c: At top level: >parseabc.c:3712:1: error: conflicting types for âparsetuneâ; have âint(FILE *)â > 3712 | parsetune (FILE * fp) > | ^~~~~~~~~ >parseabc.h:179:12: note: previous declaration of âparsetuneâ with type âint(void)â > 179 | extern int parsetune(); > | ^~~~~~~~~ >make: *** [<builtin>: parseabc.o] Error 1 >x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -I. -c -o genmidi.o genmidi.c >genmidi.c: In function âreduceâ: >genmidi.c:298:6: warning: old-style function definition [-Wold-style-definition] > 298 | void reduce(a, b) > | ^~~~~~ >genmidi.c: In function âgtfractâ: >genmidi.c:328:5: warning: old-style function definition [-Wold-style-definition] > 328 | int gtfract(anum,adenom, bnum,bdenom) > | ^~~~~~~ >genmidi.c: In function âaddunitsâ: >genmidi.c:342:6: warning: old-style function definition [-Wold-style-definition] > 342 | void addunits(a, b) > | ^~~~~~~~ >genmidi.c: In function âset_gchordsâ: >genmidi.c:392:6: warning: old-style function definition [-Wold-style-definition] > 392 | void set_gchords(s) > | ^~~~~~~~~~~ >genmidi.c: In function âset_drumsâ: >genmidi.c:435:6: warning: old-style function definition [-Wold-style-definition] > 435 | void set_drums(s) > | ^~~~~~~~~ >genmidi.c: In function âcheckbarâ: >genmidi.c:520:13: warning: old-style function definition [-Wold-style-definition] > 520 | static void checkbar(pass) > | ^~~~~~~~ >genmidi.c: In function âsoftcheckbarâ: >genmidi.c:568:13: warning: old-style function definition [-Wold-style-definition] > 568 | static void softcheckbar(pass) > | ^~~~~~~~~~~~ >genmidi.c: In function âsave_stateâ: >genmidi.c:579:13: warning: old-style function definition [-Wold-style-definition] > 579 | static void save_state(vec, a, b, c, d, e, f) > | ^~~~~~~~~~ >genmidi.c: In function ârestore_stateâ: >genmidi.c:592:13: warning: old-style function definition [-Wold-style-definition] > 592 | static void restore_state(vec, a, b, c, d, e, f) > | ^~~~~~~~~~~~~ >genmidi.c: In function âfindpartâ: >genmidi.c:625:12: warning: old-style function definition [-Wold-style-definition] > 625 | static int findpart(j) > | ^~~~~~~~ >genmidi.c: In function âpartbreakâ: >genmidi.c:659:12: warning: old-style function definition [-Wold-style-definition] > 659 | static int partbreak(xtrack, voice, place) > | ^~~~~~~~~ >genmidi.c: In function âfindvoiceâ: >genmidi.c:676:12: warning: old-style function definition [-Wold-style-definition] > 676 | static int findvoice(initplace, voice, xtrack) > | ^~~~~~~~~ >genmidi.c: In function âtext_dataâ: >genmidi.c:708:13: warning: old-style function definition [-Wold-style-definition] > 708 | static void text_data(s) > | ^~~~~~~~~ >genmidi.c:712:3: error: too many arguments to function âmf_write_meta_eventâ > 712 | mf_write_meta_event(delta_time, text_event, s, strlen(s)); > | ^~~~~~~~~~~~~~~~~~~ >In file included from genmidi.c:43: >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âkaraokestarttrackâ: >genmidi.c:717:13: warning: old-style function definition [-Wold-style-definition] > 717 | static void karaokestarttrack (track) > | ^~~~~~~~~~~~~~~~~ >genmidi.c:743:7: error: too many arguments to function âmf_write_meta_eventâ > 743 | mf_write_meta_event(0L, sequence_name, "Words", 5); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:763:12: error: too many arguments to function âmf_write_meta_eventâ > 763 | mf_write_meta_event(0L, sequence_name, atext[pitch[j]], strlen (atext[pitch[j]])); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âfindwlineâ: >genmidi.c:807:12: warning: old-style function definition [-Wold-style-definition] > 807 | static int findwline(startline) > | ^~~~~~~~~ >genmidi.c: In function âgetwordâ: >genmidi.c:905:12: warning: old-style function definition [-Wold-style-definition] > 905 | static int getword(place, w) > | ^~~~~~~ >genmidi.c: In function âwrite_syllableâ: >genmidi.c:1120:13: warning: old-style function definition [-Wold-style-definition] > 1120 | static void write_syllable(place) > | ^~~~~~~~~~~~~~ >genmidi.c: In function âinlistâ: >genmidi.c:1220:12: warning: old-style function definition [-Wold-style-definition] > 1220 | static int inlist(place, passno) > | ^~~~~~ >genmidi.c: In function âset_meterâ: >genmidi.c:1269:6: warning: old-style function definition [-Wold-style-definition] > 1269 | void set_meter(n, m) > | ^~~~~~~~~ >genmidi.c: In function âwrite_meterâ: >genmidi.c:1298:13: warning: old-style function definition [-Wold-style-definition] > 1298 | static void write_meter(n, m) > | ^~~~~~~~~~~ >genmidi.c:1326:3: error: too many arguments to function âmf_write_meta_eventâ > 1326 | mf_write_meta_event(0L, time_signature, data, 4); /* [SS] 2010-04-15 2010-07-06*/ > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âwrite_keysigâ: >genmidi.c:1329:13: warning: old-style function definition [-Wold-style-definition] > 1329 | static void write_keysig(sf, mi) > | ^~~~~~~~~~~~ >genmidi.c:1337:3: error: too many arguments to function âmf_write_meta_eventâ > 1337 | mf_write_meta_event(0L, key_signature, data, 2); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âmidi_noteonâ: >genmidi.c:1340:13: warning: old-style function definition [-Wold-style-definition] > 1340 | static void midi_noteon(delta_time, pitch, pitchbend, chan, vel) > | ^~~~~~~~~~~ >genmidi.c:1360:7: error: too many arguments to function âmf_write_midi_eventâ > 1360 | mf_write_midi_event(delta_time,pitch_wheel,chan,data,2); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:38:5: note: declared here > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:1370:5: error: too many arguments to function âmf_write_midi_eventâ > 1370 | mf_write_midi_event(delta_time, note_on, chan, data, 2); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:38:5: note: declared here > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âmidi_noteoffâ: >genmidi.c:1374:6: warning: old-style function definition [-Wold-style-definition] > 1374 | void midi_noteoff(delta_time, pitch, chan) > | ^~~~~~~~~~~~ >genmidi.c:1387:5: error: too many arguments to function âmf_write_midi_eventâ > 1387 | mf_write_midi_event(delta_time, note_off, chan, data, 2); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:38:5: note: declared here > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function ânoteon_dataâ: >genmidi.c:1391:13: warning: old-style function definition [-Wold-style-definition] > 1391 | static void noteon_data(pitch, pitchbend, channel, vel) > | ^~~~~~~~~~~ >genmidi.c: In function âapply_velocity_increment_for_one_noteâ: >genmidi.c:1616:5: warning: old-style function definition [-Wold-style-definition] > 1616 | int apply_velocity_increment_for_one_note (velocity) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >genmidi.c: In function ânoteonâ: >genmidi.c:1636:13: warning: old-style function definition [-Wold-style-definition] > 1636 | static void noteon(n) > | ^~~~~~ >genmidi.c: In function âwrite_programâ: >genmidi.c:1657:13: warning: old-style function definition [-Wold-style-definition] > 1657 | static void write_program(p, channel) > | ^~~~~~~~~~~~~ >genmidi.c:1669:5: error: too many arguments to function âmf_write_midi_eventâ > 1669 | mf_write_midi_event(delta_time, program_chng, channel, data, 1); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:38:5: note: declared here > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âwrite_event_with_delayâ: >genmidi.c:1676:6: warning: old-style function definition [-Wold-style-definition] > 1676 | void write_event_with_delay(delta,event_type, channel, data, n) > | ^~~~~~~~~~~~~~~~~~~~~~ >genmidi.c:1686:5: error: too many arguments to function âmf_write_midi_eventâ > 1686 | mf_write_midi_event(delta, event_type, channel, data, n); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:38:5: note: declared here > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âwrite_eventâ: >genmidi.c:1690:6: warning: old-style function definition [-Wold-style-definition] > 1690 | void write_event(event_type, channel, data, n) > | ^~~~~~~~~~~ >genmidi.c:1700:5: error: too many arguments to function âmf_write_midi_eventâ > 1700 | mf_write_midi_event(0, event_type, channel, data, n); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:38:5: note: declared here > 38 | int mf_write_midi_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c: In function âselect_channelâ: >genmidi.c:1704:14: warning: old-style function definition [-Wold-style-definition] > 1704 | static char *select_channel(chan, s) > | ^~~~~~~~~~~~~~ >genmidi.c: In function âmakechordchannelsâ: >genmidi.c:1729:12: warning: old-style function definition [-Wold-style-definition] > 1729 | static int makechordchannels (n) > | ^~~~~~~~~~~~~~~~~ >genmidi.c: In function âexpand_arrayâ: >genmidi.c:1892:13: warning: old-style function definition [-Wold-style-definition] > 1892 | static void expand_array (shortarray, size, longarray, factor) > | ^~~~~~~~~~~~ >genmidi.c: In function âdodeferredâ: >genmidi.c:1925:13: warning: old-style function definition [-Wold-style-definition] > 1925 | static void dodeferred(s,noteson) > | ^~~~~~~~~~ >genmidi.c: In function âdelayâ: >genmidi.c:2370:13: warning: old-style function definition [-Wold-style-definition] > 2370 | static void delay(a, b, c) > | ^~~~~ >genmidi.c: In function âsave_noteâ: >genmidi.c:2385:13: warning: old-style function definition [-Wold-style-definition] > 2385 | static void save_note(num, denom, pitch, pitchbend, chan, vel) > | ^~~~~~~~~ >genmidi.c: In function âdogchordsâ: >genmidi.c:2400:6: warning: old-style function definition [-Wold-style-definition] > 2400 | void dogchords(i) > | ^~~~~~~~~ >genmidi.c: In function âdodrumsâ: >genmidi.c:2537:6: warning: old-style function definition [-Wold-style-definition] > 2537 | void dodrums(i) > | ^~~~~~~ >genmidi.c: In function âprogress_sequenceâ: >genmidi.c:2589:6: warning: old-style function definition [-Wold-style-definition] > 2589 | void progress_sequence(i) > | ^~~~~~~~~~~~~~~~~ >genmidi.c: In function âwritetrackâ: >genmidi.c:2856:6: warning: old-style function definition [-Wold-style-definition] > 2856 | long writetrack(xtrack) > | ^~~~~~~~~~ >genmidi.c:2925:5: error: too many arguments to function âmf_write_meta_eventâ > 2925 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:2940:5: error: too many arguments to function âmf_write_meta_eventâ > 2940 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:2949:5: error: too many arguments to function âmf_write_meta_eventâ > 2949 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:2961:5: error: too many arguments to function âmf_write_meta_eventâ > 2961 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:2978:5: error: too many arguments to function âmf_write_meta_eventâ > 2978 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:2990:5: error: too many arguments to function âmf_write_meta_eventâ > 2990 | mf_write_meta_event(0L, text_event, annotation, strlen(annotation)); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:2995:5: error: too many arguments to function âmf_write_tempoâ > 2995 | mf_write_tempo(tempo); > | ^~~~~~~~~~~~~~ >midifile.h:39:6: note: declared here > 39 | void mf_write_tempo(); > | ^~~~~~~~~~~~~~ >genmidi.c:3191:9: error: too many arguments to function âmf_write_meta_eventâ > 3191 | mf_write_meta_event(0L, marker, msg, 1); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:3206:9: error: too many arguments to function âmf_write_meta_eventâ > 3206 | mf_write_meta_event(0L, text_event, atext[pitch[j]], > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:3215:15: error: too many arguments to function âmf_write_meta_eventâ > 3215 | mf_write_meta_event(0L, sequence_name, atext[pitch[j]], > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:3439:15: error: too many arguments to function âmf_write_meta_eventâ > 3439 | mf_write_meta_event(delta_time_track0, set_tempo, data, 3); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:3443:15: error: too many arguments to function âmf_write_meta_eventâ > 3443 | mf_write_meta_event(delta_time, set_tempo, data, 3); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >genmidi.c:3486:11: error: too many arguments to function âmf_write_meta_eventâ > 3486 | mf_write_meta_event(delta_time, copyright_notice, atext[pitch[j]], strlen (atext[pitch[j]])); > | ^~~~~~~~~~~~~~~~~~~ >midifile.h:37:5: note: declared here > 37 | int mf_write_meta_event(); > | ^~~~~~~~~~~~~~~~~~~ >make: *** [<builtin>: genmidi.o] Error 1 >x86_64-pc-linux-gnu-gcc -DANSILIBS -O2 -pipe -march=native -fno-diagnostics-color -DHAVE_CONFIG_H -I. -c -o store.o store.c >store.c: In function ânewvoiceâ: >store.c:530:29: warning: old-style function definition [-Wold-style-definition] > 530 | static struct voicecontext* newvoice(n) > | ^~~~~~~~ >store.c: In function âgetvoicecontextâ: >store.c:589:29: warning: old-style function definition [-Wold-style-definition] > 589 | static struct voicecontext* getvoicecontext(n) > | ^~~~~~~~~~~~~~~ >store.c: In function âgetchordnumberâ: >store.c:750:12: warning: old-style function definition [-Wold-style-definition] > 750 | static int getchordnumber(s) > | ^~~~~~~~~~~~~~ >store.c: In function âaddchordnameâ: >store.c:769:13: warning: old-style function definition [-Wold-style-definition] > 769 | static void addchordname(s, len, notes) > | ^~~~~~~~~~~~ >store.c: In function âevent_initâ: >store.c:878:6: warning: old-style function definition [-Wold-style-definition] > 878 | void event_init(argc, argv, filename) > | ^~~~~~~~~~ >store.c:887:10: error: conflicting types for âlog10â; have âdouble(void)â > 887 | double log10(); > | ^~~~~ >In file included from /usr/include/features.h:511, > from /usr/include/bits/libc-header-start.h:33, > from /usr/include/stdio.h:28, > from midifile.h:2, > from store.c:209: >/usr/include/bits/mathcalls.h:107:1: note: previous declaration of âlog10â with type âdouble(double)â > 107 | __MATHCALL_VEC (log10,, (_Mdouble_ __x)); > | ^~~~~~~~~~~~~~ >store.c:991:49: error: too many arguments to function âlog10â > 991 | semitone_shift = (float) (12.0 * log10(afreq/440.0f)/log10(2.0f)); /* [SS] 2015-10-08 extra parentheses */ > | ^~~~~ >store.c:887:10: note: declared here > 887 | double log10(); > | ^~~~~ >store.c:991:69: error: too many arguments to function âlog10â > 991 | semitone_shift = (float) (12.0 * log10(afreq/440.0f)/log10(2.0f)); /* [SS] 2015-10-08 extra parentheses */ > | ^~~~~ >store.c:887:10: note: declared here > 887 | double log10(); > | ^~~~~ >store.c: In function âevent_textâ: >store.c:1156:6: warning: old-style function definition [-Wold-style-definition] > 1156 | void event_text(s) > | ^~~~~~~~~~ >store.c: In function âevent_x_reservedâ: >store.c:1172:6: warning: old-style function definition [-Wold-style-definition] > 1172 | void event_x_reserved(p) > | ^~~~~~~~~~~~~~~~ >store.c: In function âevent_abbreviationâ: >store.c:1182:6: warning: old-style function definition [-Wold-style-definition] > 1182 | void event_abbreviation(symbol, string, container) > | ^~~~~~~~~~~~~~~~~~ >store.c: In function âevent_texâ: >store.c:1524:6: warning: old-style function definition [-Wold-style-definition] > 1524 | void event_tex(s) > | ^~~~~~~~~ >store.c: In function âevent_fatal_errorâ: >store.c:1530:6: warning: old-style function definition [-Wold-style-definition] > 1530 | void event_fatal_error(s) > | ^~~~~~~~~~~~~~~~~ >store.c: In function âevent_errorâ: >store.c:1538:6: warning: old-style function definition [-Wold-style-definition] > 1538 | void event_error(s) > | ^~~~~~~~~~~ >store.c: In function âevent_warningâ: >store.c:1553:6: warning: old-style function definition [-Wold-style-definition] > 1553 | void event_warning(s) > | ^~~~~~~~~~~~~ >store.c: In function âautoextendâ: >store.c:1568:12: warning: old-style function definition [-Wold-style-definition] > 1568 | static int autoextend(maxnotes) > | ^~~~~~~~~~ >store.c: In function âtextextendâ: >store.c:1637:12: warning: old-style function definition [-Wold-style-definition] > 1637 | static int textextend(maxstrings, stringarray) > | ^~~~~~~~~~ >store.c: In function âaddfeatureâ: >store.c:1659:13: warning: old-style function definition [-Wold-style-definition] > 1659 | static void addfeature(f, p, n, d) > | ^~~~~~~~~~ >store.c: In function âreplacefeatureâ: >store.c:1677:13: warning: old-style function definition [-Wold-style-definition] > 1677 | static void replacefeature(f, p, n, d, loc) > | ^~~~~~~~~~~~~~ >store.c: In function âinsertfeatureâ: >store.c:1687:6: warning: old-style function definition [-Wold-style-definition] > 1687 | void insertfeature(f, p, n, d, loc) > | ^~~~~~~~~~~~~ >store.c: In function âremovefeatureâ: >store.c:1715:13: warning: old-style function definition [-Wold-style-definition] > 1715 | static void removefeature(loc) > | ^~~~~~~~~~~~~ >store.c: In function âinterchange_featuresâ: >store.c:1735:13: warning: old-style function definition [-Wold-style-definition] > 1735 | static void interchange_features(loc1,loc2) > | ^~~~~~~~~~~~~~~~~~~~ >store.c: In function âremovefeaturesâ: >store.c:1767:13: warning: old-style function definition [-Wold-style-definition] > 1767 | static void removefeatures(locfrom,locto) > | ^~~~~~~~~~~~~~ >store.c: In function âevent_endmusiclineâ: >store.c:1804:6: warning: old-style function definition [-Wold-style-definition] > 1804 | void event_endmusicline(endchar) > | ^~~~~~~~~~~~~~~~~~ >store.c: In function âevent_commentâ: >store.c:1823:6: warning: old-style function definition [-Wold-style-definition] > 1823 | void event_comment(s) > | ^~~~~~~~~~~~~ >store.c: In function âparse_mididefâ: >store.c:1840:6: warning: old-style function definition [-Wold-style-definition] > 1840 | void parse_mididef(s) > | ^~~~~~~~~~~~~ >store.c:1851:5: error: too many arguments to function âreadalnâ > 1851 | i = readaln(midicmdname[nmidicmd], &p, 31); > | ^~~~~~~ >store.c:1837:5: note: declared here > 1837 | int readaln(); /* links to parseabc.c */ > | ^~~~~~~ >store.c: In function âprocess_midixâ: >store.c:1864:6: warning: old-style function definition [-Wold-style-definition] > 1864 | void process_midix(s) > | ^~~~~~~~~~~~~ >store.c:1882:9: error: too many arguments to function âreadalnâ > 1882 | j = readaln(&name,&p,31); > | ^~~~~~~ >store.c:1837:5: note: declared here > 1837 | int readaln(); /* links to parseabc.c */ > | ^~~~~~~ >store.c: In function âcompute_fifth_sizeâ: >store.c:1900:7: warning: old-style function definition [-Wold-style-definition] > 1900 | float compute_fifth_size (octave_size, ndiv) > | ^~~~~~~~~~~~~~~~~~ >store.c: In function âevent_midiâ: >store.c:1923:6: warning: old-style function definition [-Wold-style-definition] > 1923 | void event_midi(s) > | ^~~~~~~~~~ >store.c:2357:10: error: too many arguments to function âparse_stress_paramsâ > 2357 | if (parse_stress_params (inputfile) == -1) readstressfile (inputfile); > | ^~~~~~~~~~~~~~~~~~~ >store.c:514:5: note: declared here > 514 | int parse_stress_params(); > | ^~~~~~~~~~~~~~~~~~~ >store.c: In function âevent_specific_in_headerâ: >store.c:2528:6: warning: old-style function definition [-Wold-style-definition] > 2528 | void event_specific_in_header(package, s) > | ^~~~~~~~~~~~~~~~~~~~~~~~ >store.c: In function âevent_fieldâ: >store.c:2686:6: warning: old-style function definition [-Wold-style-definition] > 2686 | void event_field(k, f) > | ^~~~~~~~~~~ >store.c: In function âevent_wordsâ: >store.c:2737:6: warning: old-style function definition [-Wold-style-definition] > 2737 | void event_words(p, append, continuation) > | ^~~~~~~~~~~ >store.c: In function âappend_wordsâ: >store.c:2766:6: warning: old-style function definition [-Wold-style-definition] > 2766 | void append_words (morewords) > | ^~~~~~~~~~~~ >store.c: In function âappendfieldâ: >store.c:2775:6: warning: old-style function definition [-Wold-style-definition] > 2775 | void appendfield (morewords) > | ^~~~~~~~~~~ >store.c: In function âchar_outâ: >store.c:2801:13: warning: old-style function definition [-Wold-style-definition] > 2801 | static void char_out(part, ch) > | ^~~~~~~~ >store.c: In function âread_specâ: >store.c:2819:13: warning: old-style function definition [-Wold-style-definition] > 2819 | static void read_spec(spec, part) > | ^~~~~~~~~ >store.c: In function âevent_partâ: >store.c:2925:6: warning: old-style function definition [-Wold-style-definition] > 2925 | void event_part(s) > | ^~~~~~~~~~ >store.c: In function âevent_voiceâ: >store.c:2966:6: warning: old-style function definition [-Wold-style-definition] > 2966 | void event_voice(n, s, vp) > | ^~~~~~~~~~~ >store.c: In function âevent_lengthâ: >store.c:2999:6: warning: old-style function definition [-Wold-style-definition] > 2999 | void event_length(n) > | ^~~~~~~~~~~~ >store.c: In function âevent_default_lengthâ: >store.c:3010:6: warning: old-style function definition [-Wold-style-definition] > 3010 | void event_default_length (n) > | ^~~~~~~~~~~~~~~~~~~~ >store.c: In function âtempounitsâ: >store.c:3016:13: warning: old-style function definition [-Wold-style-definition] > 3016 | static void tempounits(t_num, t_denom) > | ^~~~~~~~~~ >store.c: In function âget_tempo_from_nameâ: >store.c:3035:5: warning: old-style function definition [-Wold-style-definition] > 3035 | int get_tempo_from_name (s) /* [SS] 2010-12-07 */ > | ^~~~~~~~~~~~~~~~~~~ >store.c: In function âis_abcm2ps_optionâ: >store.c:3049:5: warning: old-style function definition [-Wold-style-definition] > 3049 | int is_abcm2ps_option (s) /* [SS] 2018-12-17 */ > | ^~~~~~~~~~~~~~~~~ >store.c: In function âevent_tempoâ: >store.c:3062:6: warning: old-style function definition [-Wold-style-definition] > 3062 | void event_tempo(n, a, b, rel, pre, post) > | ^~~~~~~~~~~ >store.c: In function âevent_timesigâ: >store.c:3102:6: warning: old-style function definition [-Wold-style-definition] > 3102 | void event_timesig (timesig) > | ^~~~~~~~~~~~~ >store.c: In function âevent_octaveâ: >store.c:3140:6: warning: old-style function definition [-Wold-style-definition] > 3140 | void event_octave(num, local) > | ^~~~~~~~~~~~ >store.c: In function âstack_brokenâ: >store.c:3157:13: warning: old-style function definition [-Wold-style-definition] > 3157 | static void stack_broken(v) > | ^~~~~~~~~~~~ >store.c: In function ârestore_brokenâ: >store.c:3175:13: warning: old-style function definition [-Wold-style-definition] > 3175 | static void restore_broken(v) > | ^~~~~~~~~~~~~~ >store.c: In function âevent_playonrepâ: >store.c:3222:6: warning: old-style function definition [-Wold-style-definition] > 3222 | void event_playonrep(s) > | ^~~~~~~~~~~~~~~ >store.c: In function âevent_sluronâ: >store.c:3243:6: warning: old-style function definition [-Wold-style-definition] > 3243 | void event_sluron(t) > | ^~~~~~~~~~~~ >store.c: In function âevent_sluroffâ: >store.c:3254:6: warning: old-style function definition [-Wold-style-definition] > 3254 | void event_sluroff(t) > | ^~~~~~~~~~~~~ >store.c: In function âevent_lineendâ: >store.c:3285:6: warning: old-style function definition [-Wold-style-definition] > 3285 | void event_lineend(ch, n) > | ^~~~~~~~~~~~~ >store.c: In function âevent_brokenâ: >store.c:3293:6: warning: old-style function definition [-Wold-style-definition] > 3293 | void event_broken(type, mult) > | ^~~~~~~~~~~~ >store.c: In function âevent_tupleâ: >store.c:3315:6: warning: old-style function definition [-Wold-style-definition] > 3315 | void event_tuple(n, q, r) > | ^~~~~~~~~~~ >store.c: In function âlenmulâ: >store.c:3370:13: warning: old-style function definition [-Wold-style-definition] > 3370 | static void lenmul(n, a, b) > | ^~~~~~ >store.c: In function âevent_spacingâ: >store.c:3476:6: warning: old-style function definition [-Wold-style-definition] > 3476 | void event_spacing(n, m) > | ^~~~~~~~~~~~~ >store.c: In function âevent_restâ: >store.c:3481:6: warning: old-style function definition [-Wold-style-definition] > 3481 | void event_rest(decorators,n,m,type) > | ^~~~~~~~~~ >store.c: In function âevent_mrestâ: >store.c:3529:6: warning: old-style function definition [-Wold-style-definition] > 3529 | void event_mrest(n,m,c) > | ^~~~~~~~~~~ >store.c: In function âevent_fingerâ: >store.c:3622:6: warning: old-style function definition [-Wold-style-definition] > 3622 | void event_finger(p) > | ^~~~~~~~~~~~ >store.c: In function âpitchofâ: >store.c:3629:12: warning: old-style function definition [-Wold-style-definition] > 3629 | static int pitchof(note, accidental, mult, octave, propagate_accs) > | ^~~~~~~ >store.c: In function âbarepitchâ: >store.c:3667:12: warning: old-style function definition [-Wold-style-definition] > 3667 | static int barepitch(note, accidental, mult, octave) > | ^~~~~~~~~ >store.c: In function âpitchof_bâ: >store.c:3686:12: warning: old-style function definition [-Wold-style-definition] > 3686 | static int pitchof_b(note, accidental, mult, octave, propagate_accs,pitchbend) > | ^~~~~~~~~ >store.c: In function âdorollâ: >store.c:3869:13: warning: old-style function definition [-Wold-style-definition] > 3869 | static void doroll(note, octave, n, m, pitch) > | ^~~~~~ >store.c: In function âdoroll_setupâ: >store.c:3907:13: warning: old-style function definition [-Wold-style-definition] > 3907 | static void doroll_setup(note,octave,n,m,pitch) > | ^~~~~~~~~~~~ >store.c: In function âdoroll_outputâ: >store.c:3944:13: warning: old-style function definition [-Wold-style-definition] > 3944 | static void doroll_output(i) > | ^~~~~~~~~~~~~ >store.c: In function âdotrill_setupâ: >store.c:4030:13: warning: old-style function definition [-Wold-style-definition] > 4030 | static void dotrill_setup(note, octave, n, m, pitch) > | ^~~~~~~~~~~~~ >store.c: In function âdotrill_outputâ: >store.c:4062:13: warning: old-style function definition [-Wold-style-definition] > 4062 | static void dotrill_output(i) > | ^~~~~~~~~~~~~~ >store.c: In function âmakecutâ: >store.c:4135:6: warning: old-style function definition [-Wold-style-definition] > 4135 | void makecut (mainpitch, shortpitch,mainbend,shortbend, n,m) > | ^~~~~~~ >store.c: In function âmakeharprollâ: >store.c:4146:6: warning: old-style function definition [-Wold-style-definition] > 4146 | void makeharproll (pitch, bend,n,m) /* [JS] 2011-04-29 */ > | ^~~~~~~~~~~~ >store.c: In function âmakeharproll3â: >store.c:4157:6: warning: old-style function definition [-Wold-style-definition] > 4157 | void makeharproll3 (pitch, bend,n,m) /* [JS] 2011-04-29 */ > | ^~~~~~~~~~~~~ >store.c: In function âdoornamentâ: >store.c:4170:13: warning: old-style function definition [-Wold-style-definition] > 4170 | static void doornament(note, octave, n, m, pitch) > | ^~~~~~~~~~ >store.c: In function âhornpâ: >store.c:4240:13: warning: old-style function definition [-Wold-style-definition] > 4240 | static void hornp(num, denom) > | ^~~~~ >store.c: In function âevent_noteâ: >store.c:4261:6: warning: old-style function definition [-Wold-style-definition] > 4261 | void event_note(decorators, clef, accidental, mult, note, xoctave, n, m) > | ^~~~~~~~~~ >store.c: At top level: >store.c:4401:6: error: conflicting types for âevent_temperamentâ; have âvoid(char *)â > 4401 | void event_temperament(char* line) > | ^~~~~~~~~~~~~~~~~ >In file included from store.c:207: >parseabc.h:174:13: note: previous declaration of âevent_temperamentâ with type âvoid(void)â > 174 | extern void event_temperament(); > | ^~~~~~~~~~~~~~~~~ >store.c: In function âget_accidentalâ: >store.c:4455:7: warning: old-style function definition [-Wold-style-definition] > 4455 | char *get_accidental(place, accidental) > | ^~~~~~~~~~~~~~ >store.c: In function âevent_handle_gchordâ: >store.c:4475:6: warning: old-style function definition [-Wold-style-definition] > 4475 | void event_handle_gchord(s) > | ^~~~~~~~~~~~~~~~~~~ >store.c: In function âevent_handle_instructionâ: >store.c:4567:6: warning: old-style function definition [-Wold-style-definition] > 4567 | void event_handle_instruction(s) > | ^~~~~~~~~~~~~~~~~~~~~~~~ >store.c: In function âsetmapâ: >store.c:4752:13: warning: old-style function definition [-Wold-style-definition] > 4752 | static void setmap(sf, map, mult) > | ^~~~~~ >store.c: In function âaltermapâ: >store.c:4780:13: warning: old-style function definition [-Wold-style-definition] > 4780 | static void altermap(v, modmap, modmul,modmic) > | ^~~~~~~~ >store.c: In function âcopymapâ: >store.c:4800:13: warning: old-style function definition [-Wold-style-definition] > 4800 | static void copymap(v) > | ^~~~~~~ >store.c: In function âmyputcâ: >store.c:4820:5: warning: old-style function definition [-Wold-style-definition] > 4820 | int myputc(c) > | ^~~~~~ >store.c: In function ânondestructive_readstrâ: >store.c:4835:6: warning: old-style function definition [-Wold-style-definition] > 4835 | void nondestructive_readstr(out, in, limit) > | ^~~~~~~~~~~~~~~~~~~~~~ >store.c: In function âdotieâ: >store.c:4851:13: warning: old-style function definition [-Wold-style-definition] > 4851 | static void dotie(j, xinchord,voiceno) > | ^~~~~ >store.c: In function âapplygraceâ: >store.c:5116:13: warning: old-style function definition [-Wold-style-definition] > 5116 | static void applygrace(place) > | ^~~~~~~~~~ >store.c: In function âapplygrace_origâ: >store.c:5128:13: warning: old-style function definition [-Wold-style-definition] > 5128 | static void applygrace_orig(place) > | ^~~~~~~~~~~~~~~ >store.c: In function âapplygrace_newâ: >store.c:5239:13: warning: old-style function definition [-Wold-style-definition] > 5239 | static void applygrace_new(place) > | ^~~~~~~~~~~~~~ >store.c: In function âevent_barâ: >store.c:5420:6: warning: old-style function definition [-Wold-style-definition] > 5420 | void event_bar(type, replist) > | ^~~~~~~~~ >store.c: In function âplaceendrepâ: >store.c:5476:13: warning: old-style function definition [-Wold-style-definition] > 5476 | static void placeendrep(j) > | ^~~~~~~~~~~ >store.c: In function âplacestartrepâ: >store.c:5498:13: warning: old-style function definition [-Wold-style-definition] > 5498 | static void placestartrep(j) > | ^~~~~~~~~~~~~ >store.c: In function âapply_bf_stress_factorsâ: >store.c:5753:15: error: too many arguments to function âparse_stress_paramsâ > 5753 | if (parse_stress_params (inputfile) == -1) readstressfile (inputfile); > | ^~~~~~~~~~~~~~~~~~~ >store.c:514:5: note: declared here > 514 | int parse_stress_params(); > | ^~~~~~~~~~~~~~~~~~~ >store.c: In function âevent_keyâ: >store.c:5928:6: warning: old-style function definition [-Wold-style-definition] > 5928 | void event_key(sharps, s, modeindex, modmap, modmul, modmicrotone, gotkey, gotclef, clefname, clef, > | ^~~~~~~~~ >store.c: In function âfinishfileâ: >store.c:6212:9: error: too many arguments to function âwritetrackâ > 6212 | writetrack(0); > | ^~~~~~~~~~ >store.c:506:13: note: declared here > 506 | extern long writetrack(); > | ^~~~~~~~~~ >store.c:6217:16: error: too many arguments to function âwritetrackâ > 6217 | writetrack(i); > | ^~~~~~~~~~ >store.c:506:13: note: declared here > 506 | extern long writetrack(); > | ^~~~~~~~~~ >store.c:6224:16: error: too many arguments to function âwritetrackâ > 6224 | writetrack(i); > | ^~~~~~~~~~ >store.c:506:13: note: declared here > 506 | extern long writetrack(); > | ^~~~~~~~~~ >store.c:6238:9: error: too many arguments to function âmfwriteâ > 6238 | mfwrite(0, 1, division, fp); > | ^~~~~~~ >midifile.h:35:6: note: declared here > 35 | void mfwrite(); > | ^~~~~~~ >store.c:6240:9: error: too many arguments to function âmfwriteâ > 6240 | mfwrite(1, ntracks, division, fp); > | ^~~~~~~ >midifile.h:35:6: note: declared here > 35 | void mfwrite(); > | ^~~~~~~ >store.c: In function âevent_refnoâ: >store.c:6271:6: warning: old-style function definition [-Wold-style-definition] > 6271 | void event_refno(n) > | ^~~~~~~~~~~ >store.c: In function âmainâ: >store.c:6347:5: warning: old-style function definition [-Wold-style-definition] > 6347 | int main(argc,argv) > | ^~~~ >store.c:6367:5: error: too many arguments to function âparsefileâ > 6367 | parsefile(filename); > | ^~~~~~~~~ >parseabc.h:178:13: note: declared here > 178 | extern void parsefile(); > | ^~~~~~~~~ >make: *** [<builtin>: store.o] Error 1 > * ERROR: media-sound/abcmidi-2024.10.10::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/abcmidi-2024.10.10::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/abcmidi-2024.10.10::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:abcmidi-2024.10.10:20241118-211722.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/abcmidi-2024.10.10/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/abcmidi-2024.10.10/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/abcmidi-2024.10.10/work/abcmidi' > * S: '/var/tmp/portage/media-sound/abcmidi-2024.10.10/work/abcmidi' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 943863
:
909657
|
909658
|
909659
|
909660
|
909661
|
909662
| 909663 |
909664
|
909665