Mercurial > public > mk2
diff code_part1/OSTC_code_c_part2/p2_definitions.h @ 601:d1719622111e
Minor LLVM compatibility cleanups.
author | JeanDo <jd.gascuel@free.fr> |
---|---|
date | Tue, 26 Jun 2012 21:32:09 +0200 |
parents | c35473dc6831 |
children | f555590f1419 |
line wrap: on
line diff
--- a/code_part1/OSTC_code_c_part2/p2_definitions.h Mon Jun 25 12:36:28 2012 +0200 +++ b/code_part1/OSTC_code_c_part2/p2_definitions.h Tue Jun 26 21:32:09 2012 +0200 @@ -116,6 +116,9 @@ // Avoid warnings about float/double mismatches: # ifdef WIN32 # pragma warning(disable: 4244 4068 4305) +# elif defined(Q_OS_MAC) +//# pragma GCC diagnostic error "-Wunknown-pragmas" +# pragma GCC diagnostic error "-Wunused-variable" # endif #else # define PARAMETER static