#12 select.h yields error

open
nobody
None
5
2012-09-21
2009-11-14
Anonymous
No

Everytime a file in my project by itself or by recursion includes <sys select.h="">, the compiler writes an error:

"/SDK/newlib/include/sys/select.h:80: error: expected ',' or '...' before 'protected'

Examining "select.h" I don't really see the problem. It can be solved, however, by adding "#include <stdio.h>" at the very beginning of the file that ultimately includes "select.h"

P.S.: bug 2882422 has been solved. It turned out to be a stack issue (requiring a veery large stack)...

Discussion


Anonymous


Cancel   Add attachments