This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit 2/2] Import gnulib's errno module.


> Joel> I though libiconv had its own mechanism for defining EILSEQ.
> Joel> Do you think the two are going to interfere?
> 
> It seems possible to me.

Yes, indeed. I don't know how to solve the problem, however,
short of maybe asking gnulib to define it as ENOENT as well.
But I don't know how I could justify this request, since
other projects might have chosen a different value.

IMO, a more promising approach would be to convince libiconv
to use gnulib's errno instead.

Or, something that occured to me today, would be to undo my change,
and let the user figure out that to build on a system that does not
provide EILSEQ, he should build with -DEILSEQ=ENOENT. Seems horrible
to me, but it would probably work.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]