Thomas Petazzoni <[email protected]> writes: > In commit e67f2d7e0f9189beb2907fa06cff5ecc7f35f922 ("gcc 4.2.1 doesn't > support #pragma GCC diagnostic ignored"), some compile time > conditionals were added around the #pragma usage. Those conditionals > ensure that the #pragma are not used on gcc <= 4.2. > > However, the usage of #pragma diagnostic inside functions was only > added in gcc 4.6, and a build failure is therefore experienced with > gcc 4.5:
I've gone ahead and merged this; it doesn't appear to break my build, and could only increase warnings for compiler versions which actually do support it. da4bad6..7a0c79c master -> master -- [email protected]
pgpWjcRf1Iz1t.pgp
Description: PGP signature
_______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
