Bruno Haible <[EMAIL PROTECTED]> writes: > The proposal is therefore to make gnulib's replacement headers independent > of config.h, as far as possible: > - Use some @restrict@ instead of using restrict that is defined by config.h, > - For all types defined by AC_TYPE_MODE_T, AC_TYPE_OFF_T, AC_TYPE_PID_T, > etc. > copy the definition of that type into the header file that needs it, > rather than assuming that config.h defined it. > > Opinions?
Would this make it possible to install all of gnulib's replacement header files? In other words, will this lead to them being completely standalone? If the answer is yes, I think it would be potentially useful. Otherwise, I don't care either way, as long as it works. (There is the problem if the host has multiple rather different compilers installed: then these generated header files may not work with all of them. But I don't know how to solve that problem. Adding logic into the header file can work, but I suppose there are some thing a CPP test can't test for.) /Simon