From cb15ac0cd8d3cde755e455df580a62e411302985 Mon Sep 17 00:00:00 2001 From: Tomasz Sowa Date: Thu, 13 Jun 2013 21:31:53 +0000 Subject: [PATCH] removed: some warning messages generated by GCC from ttmathuint.h (Mul3Big3) git-svn-id: svn://ttmath.org/publicrep/ttmath/trunk@441 e52654a7-88a9-db11-a3e9-0013d4bc506e --- ttmath/ttmathint.h | 2 +- ttmath/ttmathuint.h | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ttmath/ttmathint.h b/ttmath/ttmathint.h index ad306f0..04d9014 100644 --- a/ttmath/ttmathint.h +++ b/ttmath/ttmathint.h @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2006-2011, Tomasz Sowa + * Copyright (c) 2006-2013, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without diff --git a/ttmath/ttmathuint.h b/ttmath/ttmathuint.h index d00a0d7..2b303a3 100644 --- a/ttmath/ttmathuint.h +++ b/ttmath/ttmathuint.h @@ -5,7 +5,7 @@ */ /* - * Copyright (c) 2006-2011, Tomasz Sowa + * Copyright (c) 2006-2013, Tomasz Sowa * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -1313,6 +1313,11 @@ private: //we have the stop point in Mul3Big2() method #endif +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif + /*! an auxiliary method for calculating the Karatsuba multiplication @@ -1447,6 +1452,9 @@ private: } +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif #ifdef _MSC_VER #pragma warning (default : 4717)