LINUX.ORG.RU

История изменений

Исправление sunjob, (текущая версия) :

1.
./autogen.sh && ./configure && make -j1
-->
preferences.c: In function ‘bind_keys’:
preferences.c:402:2: error: ‘for’ loop initial declarations are only allowed in C99 mode
  for (int i = 0; keylist[i].name; i++)
  ^

2.
export CFLAGS+=-std=c99
-->
keybinder.c:41:2: error: unknown type name ‘uint’
  uint                  keycode;
  ^
keybinder.c:42:2: error: unknown type name ‘uint’
  uint                  modifiers;
  ^

slackware 14.1x32

Исходная версия sunjob, :

1. ./autogen.sh && ./configure && make -j1 --> preferences.c: In function ‘bind_keys’: preferences.c:402:2: error: ‘for’ loop initial declarations are only allowed in C99 mode for (int i = 0; keylist.name; i++) ^

2. export CFLAGS+=-std=c99 --> keybinder.c:41:2: error: unknown type name ‘uint’ uint keycode; ^ keybinder.c:42:2: error: unknown type name ‘uint’ uint modifiers; ^

...

slackware 14.1x32