On Mon, Jun 20, 2011 at 11:34 PM, Bruno Haible <br...@clisp.org> wrote:
> I find it reasonable to use "#ifdef PATH_MAX" in front of every use of
> PATH_MAX, like POSIX requires.

I agree.

I think it would be helpful if there were some automated way of
reminding people to do that though.  Many people develop on systems
which define PATH_MAX but would want their code to build and work
correctly on systems that do not.

Is the current syntax-check system flexible enough to warn about uses
of PATH_MAX outside an #idfef PATH_MAX conditional?

James.

Reply via email to