Sam Steingold wrote: > > +extern > > +# ifdef __cplusplus > > +"C" > > +# endif > > +DIR *fdopendir (int); > > that's pretty awful. > maybe there is a way to use the m4 magic to avoid replacing 1 line with 5?
Maybe. But the number of lines of a test program is not important to me; it is much more important that the test program can be copy&pasted into a .c file easily, for debugging. Therefore I'm against m4 macrology inside test programs. (GL_NOCRASH is an exception: it can easily be omitted from test programs.) Bruno -- In memoriam Ludwig Beck <http://en.wikipedia.org/wiki/Ludwig_Beck>