From: Marcel Holtmann <marcel@holtmann.org>
To: ofono@ofono.org
Subject: Re: Compiler errors.
Date: Mon, 13 Jul 2009 13:26:40 +0200 [thread overview]
Message-ID: <1247484400.9709.138.camel@localhost.localdomain> (raw)
In-Reply-To: <4A5ACA4C.2000802@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 991 bytes --]
Hi Marko,
> with the latest oFono git version I'm getting the following compiler
> errors when using gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3.
>
> ----
>
> gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../src
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Werror
> -Wextra -Wno-unused-parameter -Wno-missing-field-initializers
> -Wdeclaration-after-statement -Wmissing-declarations -Wredundant-decls
> -Wcast-align -MT smsutil.o -MD -MP -MF .deps/smsutil.Tpo -c -o smsutil.o
> `test -f '../src/smsutil.c' || echo './'`../src/smsutil.c
> cc1: warnings being treated as errors
> ../src/smsutil.c: In function ‘sms_extract_common’:
> ../src/smsutil.c:1442: error: ‘dcs’ may be used uninitialized in this
> function
> ../src/smsutil.c:1441: error: ‘udhi’ may be used uninitialized in this
> function
I didn't see them when building the release, but some distro compilers
are a different.
Denis, care to fix these please.
Regards
Marcel
next prev parent reply other threads:[~2009-07-13 11:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 5:46 Compiler errors Marko Saukko
2009-07-13 11:26 ` Marcel Holtmann [this message]
2009-07-14 5:25 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1247484400.9709.138.camel@localhost.localdomain \
--to=marcel@holtmann.org \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox