Re: [PATCH] S390: Fix virSysinfoRead memory corruption

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/2012 05:23 PM, Eric Blake wrote:


Don't worry about it.  There are enough people compiling with newer gcc
where the warning is not disabled that you won't be introducing in problems.

heard that too often ;-)
I've send out a new version of the patch (in fact a new series)
disabling the warning with a pragma only in the affected file.

But isn't the problem that the use of pragmas to silence broken warnings
is specific to newer gcc, while you are trying to silence the warning on
older gcc?  I guess I'll have to look at what you did; and I still need
to work up my patch for the warning avoidance at configure time anyway.

obviously I can't vouch for it ... but according to the GCC manuals,
-Wlogical-op was introduced in gcc 4.3 while #pragma GCC diagnostic
showed up in gcc 4.2, so we should be safe.
But then again, I said that too often as well ...

--

Mit freundlichen Grüßen/Kind Regards
   Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]