Mail Archives: djgpp-workers/2000/03/05/09:08:06
On Sun, 5 Mar 2000, Martin Str|mberg wrote:
> Here's the (standard) file iso646.h.
Thanks!
> Some files #defines constants several times. E. g. NULL is in wchar.h
> and in stddef.h.
No, wchar.h simply includes stddef.h. So there's no problem in that
case.
> Should those #defines be wrapped in #ifndef/#endif?
It should be decided on a case by case basis. Please tell the specifics
of each and every case like that.
> Shall I send header files containing new functions, so other people
> can start implementing them?
IMHO, the prototypes should be added to the headers only *after* the
functions are already available. Otherwise, we might get conflicts (when
building a package that provides its private versions of the missing
functions), and some people think that the existence of a prototype is an
evidence that the function is provided by the library.
- Raw text -