Avoid potential negative array index access to cached text.
[LibreOffice.git] / solenv / gcc-wrappers / wrapper.hxx
blobd68ab90c9504692ed8e0772757a75c4e48500d59
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
10 #ifndef INCLUDED_SOLENV_GCC_WRAPPERS_WRAPPER_HXX
11 #define INCLUDED_SOLENV_GCC_WRAPPERS_WRAPPER_HXX
13 #include <string>
14 #include <iostream>
15 #include <vector>
17 std::string getexe(std::string exename, bool maybeempty = false);
19 void setupccenv();
21 std::string processccargs(const std::vector<std::string>& rawargs, std::string& env_prefix,
22 bool& verbose);
24 int startprocess(std::string command, std::string args, bool verbose);
26 #endif // INCLUDED_SOLENV_GCC_WRAPPERS_WRAPPER_HXX
28 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */