Remove a gcc warning.
ibusxml.c: In function 'ibus_xml_parse_file':
ibusxml.c:213: error: 'retval' may be used uninitialized in this function
BUG=none
TEST=ran make CFLAGS="-Wall -O2"
On 2011/01/12 06:33:53, Yusuke Sato wrote: > BTW, the "-Wall -Werror" flags specified in autogen.sh ...
15 years, 1 month ago
(2011-01-12 13:27:59 UTC)
#2
On 2011/01/12 06:33:53, Yusuke Sato wrote:
> BTW, the "-Wall -Werror" flags specified in autogen.sh are not working
> correctly?
It should work. Actually, autoget.sh will call ./configure with CFLAGS='...', if
you run ./configure by self, the cflags will be overwritten.
LGTM
hmm.. I tried './autogen.sh ; make' but the warning was not shown. I have to ...
15 years, 1 month ago
(2011-01-12 13:37:31 UTC)
#3
hmm.. I tried './autogen.sh ; make' but the warning was not shown. I have to
call make CFLAGS="-Wall -O2" explicitly to get the warning.
I'll take a look at the issue in detail later.
On 2011/01/12 13:27:59, Shawn.P.Huang wrote:
> On 2011/01/12 06:33:53, Yusuke Sato wrote:
> > BTW, the "-Wall -Werror" flags specified in autogen.sh are not working
> > correctly?
>
> It should work. Actually, autoget.sh will call ./configure with CFLAGS='...',
if
> you run ./configure by self, the cflags will be overwritten.
>
> LGTM
Issue 3858044: Remove a gcc warning.
(Closed)
Created 15 years, 1 month ago by Yusuke Sato
Modified 15 years, 1 month ago
Reviewers: shawn.p.huang_gmail.com, Peng Huang, Peng
Base URL: git@github.com:ibus/ibus.git@master
Comments: 0