You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling 0.60.8 on cygwin fails due to wrong expectation about _fileno.
Attached patch solves the build issue.
prog/compress.c: In function ‘main’:
prog/compress.c:28:34: warning: implicit declaration of function ‘_fileno’; did you mean ‘fileno’? [-Wimplicit-function-declaration]
# define SETBIN(fno) _setmode( _fileno( fno ), _O_BINARY )
^
prog/compress.c:81:7: note: in expansion of macro ‘SETBIN’
SETBIN (stdout);
^~~~~~
prog/compress.c:28:50: error: ‘_O_BINARY’ undeclared (first use in this function); did you mean ‘O_BINARY’?
# define SETBIN(fno) _setmode( _fileno( fno ), _O_BINARY )
^
prog/compress.c:81:7: note: in expansion of macro ‘SETBIN’
SETBIN (stdout);
^~~~~~
prog/compress.c:28:50: note: each undeclared identifier is reported only once for each function it appears in
# define SETBIN(fno) _setmode( _fileno( fno ), _O_BINARY )
^
prog/compress.c:81:7: note: in expansion of macro ‘SETBIN’
SETBIN (stdout);
^~~~~~
make[1]: *** [Makefile:1490: prog/compress.o] Error 1
Compiling 0.60.8 on cygwin fails due to wrong expectation about _fileno.
Attached patch solves the build issue.
aspell-0.60.8-1.src.patch.gz
The text was updated successfully, but these errors were encountered: