From df1afc0d3504b641180d41756e51c1caa161c636 Mon Sep 17 00:00:00 2001 From: "Alan M. Carroll" Date: Wed, 19 Oct 2016 11:00:36 -0500 Subject: [PATCH] TS-4988: Disable sign comparison warnings for TsConfigSyntax.c --- lib/tsconfig/TsConfigSyntax.l | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/tsconfig/TsConfigSyntax.l b/lib/tsconfig/TsConfigSyntax.l index c8eba34fe5e..dc11a2ff43c 100644 --- a/lib/tsconfig/TsConfigSyntax.l +++ b/lib/tsconfig/TsConfigSyntax.l @@ -21,8 +21,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - */ - +*/ + +# if defined(__GNUC__) +# pragma GCC diagnostic ignored "-Wsign-compare" +# endif + + # if ! (defined(__clang_analyzer__) || defined(__COVERITY__)) # include "TsConfigParseEvents.h"