public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
@ 2003-02-03 14:06 aph
0 siblings, 0 replies; 4+ messages in thread
From: aph @ 2003-02-03 14:06 UTC (permalink / raw)
To: aph, bunk, gcc-bugs, gcc-prs, nobody
Synopsis: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
Responsible-Changed-From-To: unassigned->aph
Responsible-Changed-By: aph
Responsible-Changed-When: Mon Feb 3 14:06:41 2003
Responsible-Changed-Why:
Fixed.
State-Changed-From-To: analyzed->closed
State-Changed-By: aph
State-Changed-When: Mon Feb 3 14:06:41 2003
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4269
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
@ 2003-01-27 18:06 Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2003-01-27 18:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/4269; it has been noted by GNATS.
From: Adrian Bunk <bunk@fs.tum.de>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
Date: Mon, 27 Jan 2003 18:56:46 +0100
On Thu, Nov 21, 2002 at 02:44:28PM -0000, bangerth@dealii.org wrote:
> Synopsis: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
>
> State-Changed-From-To: feedback->analyzed
> State-Changed-By: bangerth
> State-Changed-When: Thu Nov 21 06:44:27 2002
> State-Changed-Why:
> Problem still exists as of Nov 21, 2002.
>
> You already have pointed out the autoconf snippet that is
> necessary. Would you mind submitting a patch to
> gcc-patches@gcc.gnu.org that uses it?
In gcc head HAVE_LANGINFO_CODESET is already defined resp. undefined in
gcc/auto-host.h. I don't know that much about the gcc build system,
could you check whether the patch below looks correct?
> W.
>
> http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4269
cu
Adrian
*** gcc/java/jv-scan.c.old Mon Jan 27 00:51:14 2003
--- gcc/java/jv-scan.c Mon Jan 27 00:51:34 2003
***************
*** 33,39 ****
#include <locale.h>
#endif
! #ifdef HAVE_NL_LANGINFO
#include <langinfo.h>
#endif
--- 33,39 ----
#include <locale.h>
#endif
! #ifdef HAVE_LANGINFO_CODESET
#include <langinfo.h>
#endif
***************
*** 205,211 ****
/* There's no point in trying to find the current encoding
unless we are going to do something intelligent with it
-- hence the test for iconv. */
! #if defined (HAVE_LOCALE_H) && defined (HAVE_ICONV) && defined (HAVE_NL_LANGINFO)
setlocale (LC_CTYPE, "");
if (encoding == NULL)
encoding = nl_langinfo (CODESET);
--- 205,211 ----
/* There's no point in trying to find the current encoding
unless we are going to do something intelligent with it
-- hence the test for iconv. */
! #if defined (HAVE_LOCALE_H) && defined (HAVE_ICONV) && defined (HAVE_LANGINFO_CODESET)
setlocale (LC_CTYPE, "");
if (encoding == NULL)
encoding = nl_langinfo (CODESET);
*** gcc/java/jcf-parse.c.old Mon Jan 27 00:50:17 2003
--- gcc/java/jcf-parse.c Mon Jan 27 00:50:46 2003
***************
*** 47,53 ****
#include <locale.h>
#endif
! #ifdef HAVE_NL_LANGINFO
#include <langinfo.h>
#endif
--- 47,53 ----
#include <locale.h>
#endif
! #ifdef HAVE_LANGINFO_CODESET
#include <langinfo.h>
#endif
***************
*** 798,804 ****
/* There's no point in trying to find the current encoding unless we
are going to do something intelligent with it -- hence the test
for iconv. */
! #if defined (HAVE_LOCALE_H) && defined (HAVE_ICONV) && defined (HAVE_NL_LANGINFO)
setlocale (LC_CTYPE, "");
if (current_encoding == NULL)
current_encoding = nl_langinfo (CODESET);
--- 798,804 ----
/* There's no point in trying to find the current encoding unless we
are going to do something intelligent with it -- hence the test
for iconv. */
! #if defined (HAVE_LOCALE_H) && defined (HAVE_ICONV) && defined (HAVE_LANGINFO_CODESET)
setlocale (LC_CTYPE, "");
if (current_encoding == NULL)
current_encoding = nl_langinfo (CODESET);
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
@ 2002-11-30 20:06 Adrian Bunk
0 siblings, 0 replies; 4+ messages in thread
From: Adrian Bunk @ 2002-11-30 20:06 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR bootstrap/4269; it has been noted by GNATS.
From: Adrian Bunk <bunk@fs.tum.de>
To: bangerth@dealii.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org,
nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
Date: Thu, 21 Nov 2002 12:27:51 +0100
On Wed, Nov 20, 2002 at 02:25:13AM -0000, bangerth@dealii.org wrote:
> Old Synopsis: HAVE_NL_LANGINFO doesn't ensure that CODESET is available
> New Synopsis: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
>
> State-Changed-From-To: open->feedback
> State-Changed-By: bangerth
> State-Changed-When: Tue Nov 19 18:25:13 2002
> State-Changed-Why:
> This is quite an old bootstrap report. Could you please
> re-check with a newer version of gcc and report whether
> it works or not?
The problem is still present in the files gcc/java/jcf-parse.c and
gcc/java/jv-scan.c in gcc-3.2.1
> Thanks
> W.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
@ 2002-11-27 16:19 bangerth
0 siblings, 0 replies; 4+ messages in thread
From: bangerth @ 2002-11-27 16:19 UTC (permalink / raw)
To: bunk, gcc-bugs, gcc-prs, nobody
Old Synopsis: HAVE_NL_LANGINFO doesn't ensure that CODESET is available
New Synopsis: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Nov 19 18:25:13 2002
State-Changed-Why:
This is quite an old bootstrap report. Could you please
re-check with a newer version of gcc and report whether
it works or not?
Thanks
W.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4269
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-02-03 14:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-03 14:06 bootstrap/4269: [sparc-unknown-netbsdeld1.5] HAVE_NL_LANGINFO doesn't ensure that CODESET is available aph
-- strict thread matches above, loose matches on Subject: below --
2003-01-27 18:06 Adrian Bunk
2002-11-30 20:06 Adrian Bunk
2002-11-27 16:19 bangerth
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).