URL: <https://savannah.gnu.org/bugs/?65888>
Summary: 2.6.0 Mac build fails on implicit int Group: Denemo Submitter: None Submitted: mar. 18 juin 2024 04:05:34 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Originator Name: Open/Closed: Open Discussion Lock: Any _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: mar. 18 juin 2024 04:05:34 By: Anonymous Here is a patch to fix this : Fix: sffile.c:38:10: error: implicitly declaring library function 'isprint' with type 'int (int)' [-Werror,-Wimplicit-function-declaration] sffile.c:55:10: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] --- libs/libsffile/sffile.c.orig 2024-06-17 23:46:52 +++ libs/libsffile/sffile.c 2024-06-17 23:47:48 @@ -20,6 +20,7 @@ *================================================================*/ //Interface to Denemo License: FSF GPL version 3 or later +#include <ctype.h> #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -51,7 +52,7 @@ int ParseSoundfont(char *soundfont, int index, char **name, int *preset, int *bank) { FILE *fp; static SFInfo sf; - static initialized = FALSE; + static int initialized = FALSE; int i; int number = 0; if(soundfont) { _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65888> _______________________________________________ Message posté via Savannah https://savannah.gnu.org/