[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Fix most warnings with gcc 4.4 on Linux
From: |
Boris Dušek |
Subject: |
[PATCH] Fix most warnings with gcc 4.4 on Linux |
Date: |
Tue, 7 Sep 2010 15:35:36 +0200 |
Hello,
when building the Ubuntu package for 0.7.1 Beta 2, I noticed lot of warnings in
the build log from the PPA build server. Since having warnings is not good, I
decided to fix them. I am posting a patch below that fixes most of them. Only 2
warnings remain on amd64 Ubuntu 10.04 with gcc 4.4.3:
src/server/history.c:38: warning: cast from pointer to integer of different size
- I don't understand this one at all, the code seems correct. There is no
conversion from pointer to integer visible to me at all.
src/c/api/libspeechd.c:263: warning: assignment discards qualifiers from
pointer target type
- I don't feel like I am able to correctly solve this one in little time
Could someone please review this patch?
Best regards,
Boris Dusek
- [PATCH] Fix most warnings with gcc 4.4 on Linux,
Boris Dušek <=