[Ltrace-devel] glob.c: In function 'globcomp': error: 'regex' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Sedat Dilek sedat.dilek at gmail.com
Fri Nov 9 19:02:39 UTC 2012


On Fri, Nov 9, 2012 at 4:45 PM, Petr Machata <pmachata at redhat.com> wrote:
> Petr Machata <pmachata at redhat.com> writes:
>
>> Sedat Dilek <sedat.dilek at gmail.com> writes:
>>> One more thoughts on broken or golden toolchain... gcc's optimization-level.
>>> The Freetz router project uses aggressive "-Os" by default... I could
>>> try more commonly used "-O2".
>>
>> You are right, it is the -Os that causes this, and it hits on final gcc
>> as well.  I'll see what I can do.
>
> I'm pretty sure this is spurious.  At some point in minimization I could
> make the warning to go away by removing a pair of braces with no effect
> on actual semantics at all.  But whatever.  I commited a workaround.
>

Thanks for taking care!
I just compiled ltrace 0.7.0-git (up to commit a41e6fc) with Edgar's
(experimental) MIPS patch on top and no build-errors occured.
( Sorry for not having so much time to invest in ltrace. )

- Sedat -


> Thanks,
> PM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ltrace-L-x-main-debug-71-20121109.txt.gz
Type: application/x-gzip
Size: 5881 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20121109/8cd35f16/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ltrace-L-x-main-debug-71-20121109.txt.gz.sha256sum
Type: application/octet-stream
Size: 106 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/ltrace-devel/attachments/20121109/8cd35f16/attachment.obj>


More information about the Ltrace-devel mailing list