diff options
author | David Ostrovsky <David.Ostrovsky@gmx.de> | 2012-05-01 00:04:38 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-05-01 07:29:06 +0200 |
commit | 1bec43481eb6cbe58b22b8c2ce3688e858f5f92f (patch) | |
tree | c1414b8d47e34027de20c05f3f98ebd5099609b0 /idlc/source | |
parent | b9d0e597a7bc328ca99a1bf338a609cac23a4284 (diff) |
build: cleaning up previously converted idlc module
Change-Id: Ic90495f677dc42c0430492548deaa9f9b10e4d44
Diffstat (limited to 'idlc/source')
-rw-r--r-- | idlc/source/scanner.l (renamed from idlc/source/scanner.ll) | 2 | ||||
-rw-r--r-- | idlc/source/wrap_parser.cxx | 32 | ||||
-rw-r--r-- | idlc/source/wrap_scanner.cxx | 38 |
3 files changed, 1 insertions, 71 deletions
diff --git a/idlc/source/scanner.ll b/idlc/source/scanner.l index 62ce2884f393..8d95322fc686 100644 --- a/idlc/source/scanner.ll +++ b/idlc/source/scanner.l @@ -257,7 +257,7 @@ static void parseLineAndFile(sal_Char* pBuf) // Suppress any warnings from generated code: #if defined __GNUC__ -#pragma GCC system_header +#pragma GCC diagnostic ignored "-Wunused-function" #elif defined __SUNPRO_CC #pragma disable_warn #elif defined _MSC_VER diff --git a/idlc/source/wrap_parser.cxx b/idlc/source/wrap_parser.cxx deleted file mode 100644 index 053713a21d90..000000000000 --- a/idlc/source/wrap_parser.cxx +++ /dev/null @@ -1,32 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - - -#include "parser.cxx" - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/idlc/source/wrap_scanner.cxx b/idlc/source/wrap_scanner.cxx deleted file mode 100644 index 94a068add789..000000000000 --- a/idlc/source/wrap_scanner.cxx +++ /dev/null @@ -1,38 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/************************************************************************* - * - * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * - * Copyright 2000, 2010 Oracle and/or its affiliates. - * - * OpenOffice.org - a multi-platform office productivity suite - * - * This file is part of OpenOffice.org. - * - * OpenOffice.org is free software: you can redistribute it and/or modify - * it under the terms of the GNU Lesser General Public License version 3 - * only, as published by the Free Software Foundation. - * - * OpenOffice.org is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Lesser General Public License version 3 for more details - * (a copy is included in the LICENSE file that accompanied this code). - * - * You should have received a copy of the GNU Lesser General Public License - * version 3 along with OpenOffice.org. If not, see - * <http://www.openoffice.org/license.html> - * for a copy of the LGPLv3 License. - * - ************************************************************************/ - -#ifdef __clang__ -#pragma clang diagnostic ignored "-Wsign-compare" -#endif - -#include "scanner.cxx" - -void (*avoid_unused_yyunput_in_scanner_cxx)(int, char*) = yyunput; -int (*avoid_unused_yyinput_in_scanner_cxx)() = yyinput; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |