This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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: gengenrtl needs to link with libintl

[Get raw message]
> > DJ may do a merge from glibc.  If he does, then I think ENABLE_NLS should
> > be undefined rather than HAVE_LIBINTL_H.
> 
> Should I hold off for this merge, or apply the patch now and we can
> change it later if DJ does his merge?

>From my look at the current glibc code, undefining either HAVE_LIBINTL_H
or ENABLE_NLS will disable NLS and resolve the problem.  The problem
only arises because obstack.c is built with gcc's config.h.  Maybe
the correct approach is to undefine both as we don't really want either
of these defined when building generator programs.  The merge isn't going
to affect things, so my opinion is there no reason to wait.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)


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