rpm, ppc and -fsigned-char
wrobell
wrobell at pld-linux.org
Tue May 10 01:22:01 CEST 2005
On Tue, May 10, 2005 at 12:07:23AM +0200, Pawel Sikora wrote:
> On Monday 09 of May 2005 22:25, Mariusz Mazur wrote:
> > On poniedziałek 09 maj 2005 18:19, wrobell wrote:
> > > $ rpm --showrc | grep fsigned-char
> > > optflags : -O2 -fsigned-char%{!?nospecflags:%{?specflags:
> > > %{specflags}}%{?specflags_ppcpseries: %{specflags_ppcpseries}}} -11:
> > > optflags -O2 -fsigned-char%{!?nospecflags:%{?specflags:
> > > %{specflags}}%{?specflags_ppc: %{specflags_ppc}}}
> > >
> > > As i understand it comes from rpm-rpmrc.patch.
> > >
> > > It generates a lot of noise due to char unsignedness on ppc platform.
> > > For example many string.h functions use just char, it defaults to singed
> > > char and properly written code gives warnings about signedness.
> > >
> > > Any reason to keep fsigned-char in this patch?
> >
> > Afaik it's supposed to make ppc more x86ish
>
> The K&R book doesn't say if it's signed or not !!!
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> That's up to the implementation.
What about ANSI C and POSIX standards? Is there anything about it?
Or they just derive from K&R?
[...]
wrobell <wrobell at pld-linux.org>
More information about the pld-devel-en
mailing list