gcc complains about write(2) being called in Console.cpp, but not declared.
According to Fedora 19's man pages, write(2) is defined in unistd.h.
What steps will reproduce the problem?
1. ccmake .
2. make
What is the expected output? What do you see instead?
/usr/local/src/ccons/Console.cpp: In member function ‘bool
ccons::Console::shouldPrintCString(const char*)’:
/usr/local/src/ccons/Console.cpp:243:30: error: ‘write’ was not declared in
this scope
int result = write(fd, p, 1);
What version of the product are you using? On what operating system?
SVN checkout r252
Fedora 19, gcc 4.8.1, glibc 2.17
Please provide any additional information below.
Original issue reported on code.google.com by postmode...@gmail.com on 14 Sep 2013 at 5:15
Original issue reported on code.google.com by
postmode...@gmail.com
on 14 Sep 2013 at 5:15