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
Compilation failed like this:
../srshcommon/consoleshell.cpp: In member function ‘bool
ConsoleShell::isStdinTty()’:
../srshcommon/consoleshell.cpp:478:23: error: ‘STDIN_FILENO’ was not
declared in this scope
../srshcommon/consoleshell.cpp:478:35: error: ‘isatty’ was not declared in
this scope
../srshcommon/consoleshell.cpp:481:1: warning: control reaches end of non-void
function [-Wreturn-type]
make[2]: *** [consoleshell.o] Error 1
make[2]: Leaving directory `/tmp/NewDir/scriptreport-0.2/tools/srsh'
make[1]: *** [sub-srsh-make_default] Error 2
make[1]: Leaving directory `/tmp/NewDir/scriptreport-0.2/tools'
make: *** [sub-tools-make_default] Error 2
It built fine after I added this to tools/srshcommon/consoleshell.cpp:
#include <unistd.h>
I saw somewhere that this occurs with gcc 4.7
Original issue reported on code.google.com by [email protected] on 26 Jul 2012 at 2:23
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 26 Jul 2012 at 2:23The text was updated successfully, but these errors were encountered: