Make.rules.in: Pass the --nounistd flag to flex since unistd.h is a header that might not be present on all systems.

Alexandre Julliard julliard at winehq.org
Tue Feb 19 07:47:06 CST 2008


Robert Shearman <rob at codeweavers.com> writes:

> I disagree. The global make rules, among other things, should enforce
> policies whether this be telling the C compiler to error on certain
> non-portable constructs like declarations after statements or telling
> flex not to output code that includes headers that might not be
> present, like unistd.h.

Yes, but policies about headers don't always apply globally. Some parts
of the project, like the server, are Unix-only, and using unistd.h in
those parts is perfectly legitimate.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list