LINUX.ORG.RU

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

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

main$ make
gcc -Os -m32 -o test test.c uprintf.c
uprintf.c: In function ‘print_string’:
uprintf.c:74: error: ‘for’ loop initial declaration used outside C99 mode
uprintf.c:83: error: ‘for’ loop initial declaration used outside C99 mode
make: *** [test] Error 1

+

lib/uprintf.c:328:5: sorry, unimplemented: nested function trampolines not supported on this target

int psn(char *str, int size, const char *fmt, ...)
    ^
да, без вложения как-то не весело получается :о)
будем разбираться, где там мой топорик... колунчик...

Исправление sunjob, :

main$ make
gcc -Os -m32 -o test test.c uprintf.c
uprintf.c: In function ‘print_string’:
uprintf.c:74: error: ‘for’ loop initial declaration used outside C99 mode
uprintf.c:83: error: ‘for’ loop initial declaration used outside C99 mode
make: *** [test] Error 1

+

lib/uprintf.c:328:5: sorry, unimplemented: nested function trampolines not supported on this target

int psn(char *str, int size, const char *fmt, ...)
    ^
да, без вложения как-то не весело получается :о) будем разбираться, где там мой топорик... колунчик...

Исправление sunjob, :

main$ make
gcc -Os -m32 -o test test.c uprintf.c
uprintf.c: In function ‘print_string’:
uprintf.c:74: error: ‘for’ loop initial declaration used outside C99 mode
uprintf.c:83: error: ‘for’ loop initial declaration used outside C99 mode
make: *** [test] Error 1

+

lib/uprintf.c:328:5: sorry, unimplemented: nested function trampolines not supported on this target

int psn(char *str, int size, const char *fmt, ...)
    ^

будем разбираться, где там мой топорик... колунчик...

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

набегом-наскоком :о)

main$ make
gcc -Os -m32 -o test test.c uprintf.c
uprintf.c: In function ‘print_string’:
uprintf.c:74: error: ‘for’ loop initial declaration used outside C99 mode
uprintf.c:83: error: ‘for’ loop initial declaration used outside C99 mode
make: *** [test] Error 1