GNU bug report logs -
#17381
_GL_ATTRIBUTE_PURE in dfa.h
Previous Next
Full log
View this message in rfc822 format
arnold <at> skeeve.com wrote:
> I have to copy the defines for it from dfa.c
> into dfa.h to make it compile.
It'd be better to move that stuff into custom.h, I expect. Please see
below.
> Are all the new routines in dfa.h needed by code in grep?
Yes, I'm afraid so. We wouldn't have put them there otherwise.
> Can we try in the future to the gnulib-specific stuff out of the
> header?
In the long run it'd be better to have the header just work, so that you
don't have to copy anything from dfa.c to dfa.h or vice versa, and so
that you can just use grep's dfa.c and dfa.h with little or no change.
I emailed you something along those lines earlier this month; you can
find a copy at <http://bugs.gnu.org/17157#61>. If you'd like me to come
up with a revised patch, which merges this into the latest gawk master,
I can do that.
This bug report was last modified 11 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.