rpm, ppc and -fsigned-char

wrobell wrobell at pld-linux.org
Mon May 9 18:19:07 CEST 2005


$ 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?

    wrobell <wrobell at pld-linux.org>




More information about the pld-devel-en mailing list