Le mardi 25 décembre 2007, Ralf S. Engelschall a écrit :
> On Mon, Dec 24, 2007, Jason Corley wrote:
> > Getting this error with HEAD:
> > rpmconstanttbl.c:287: error: 'RPMBUILD_FETCHSOURCE' undeclared
> > here (not in a function)
> > It looks like the error is with rpmconstant/rpmh2tbl not dealing
> > properly with an OpenPKG #ifdef, but exactly where and how I haven't
> > figured out yet. Deleting the RPMBUILD_FETCHSOURCE line from
> > rpmconstantbl.c allows build to succeed.
>
> I've removed the wrapping #ifdef/#endif now as this seems to be the only
> solution. Now my favorite solution, but currently the only possible one
> AFAIK...
Yes, dealing with #ifdef in enum with a parser in perl is not easy, except we
plan to rewrite a C preprocesser parser. Which is definitevelly not the goal.
I'll try to find a better solution, but I can't promise one :\
Received on Tue Dec 25 01:23:43 2007