mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-03 18:22:42 +00:00
C89_BUILD: Fix some clang compiler errors.
Fixes these two compile errors with C89_BUILD=1 configuration.c:2028:9: error: ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement] bool has_application_data = ^ 1 error generated. make: *** [Makefile:164: obj-unix/configuration.o] Error 1 In file included from menu/widgets/menu_osk.c:42: menu/widgets/menu_osk_utf8_pages.h:62:94: error: no newline at end of file [-Werror,-Wnewline-eof] "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"}; ^ 1 error generated. make: *** [Makefile:163: obj-unix/menu/widgets/menu_osk.o] Error 1
This commit is contained in:
parent
5d5115941f
commit
e1db3e7a6d
@ -1932,6 +1932,7 @@ static void config_set_defaults(void)
|
||||
**/
|
||||
static config_file_t *open_default_config_file(void)
|
||||
{
|
||||
bool has_application_data;
|
||||
size_t path_size = PATH_MAX_LENGTH * sizeof(char);
|
||||
char *application_data = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||
char *conf_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||
@ -2025,7 +2026,7 @@ static config_file_t *open_default_config_file(void)
|
||||
RARCH_WARN("Created new config file in: \"%s\".\n", conf_path);
|
||||
}
|
||||
#elif !defined(RARCH_CONSOLE)
|
||||
bool has_application_data =
|
||||
has_application_data =
|
||||
fill_pathname_application_data(application_data,
|
||||
path_size);
|
||||
|
||||
|
@ -59,4 +59,4 @@ static const char *katakana_page2_grid[] = {
|
||||
"ナ","ニ","ヌ","ネ","ノ","バ","ビ","ブ","ベ","ボ","⇦",
|
||||
"ハ","ヒ","フ","ヘ","ホ","パ","ピ","プ","ペ","ポ","⏎",
|
||||
"マ","ミ","ム","メ","モ","ン","ッ","ャ","ュ","ョ","⇧",
|
||||
"ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
|
||||
"ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
|
||||
|
Loading…
x
Reference in New Issue
Block a user