]> git.proxmox.com Git - mirror_qemu.git/blobdiff - HACKING
Disable warn about left shifts of negative values
[mirror_qemu.git] / HACKING
diff --git a/HACKING b/HACKING
index 058aa8fd491243cc1838f0d2ab759afc4b0453d1..20a910168d2a3d21214e6d4c65b9e8cc51ca6e50 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -158,6 +158,10 @@ painful. These are:
  * you may assume that right shift of a signed integer duplicates
    the sign bit (ie it is an arithmetic shift, not a logical shift)
 
+In addition, QEMU assumes that the compiler does not use the latitude
+given in C99 and C11 to treat aspects of signed '<<' as undefined, as
+documented in the GNU Compiler Collection manual starting at version 4.0.
+
 7. Error handling and reporting
 
 7.1 Reporting errors to the human user