summaryrefslogtreecommitdiff
path: root/solenv/gcc-wrappers/gcc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/gcc-wrappers/gcc.cxx')
-rw-r--r--solenv/gcc-wrappers/gcc.cxx14
1 files changed, 6 insertions, 8 deletions
diff --git a/solenv/gcc-wrappers/gcc.cxx b/solenv/gcc-wrappers/gcc.cxx
index a51d64ff39fa..05dff957eec4 100644
--- a/solenv/gcc-wrappers/gcc.cxx
+++ b/solenv/gcc-wrappers/gcc.cxx
@@ -9,19 +9,17 @@
#include "wrapper.hxx"
-using namespace std;
-
int main(int argc, char* argv[])
{
- vector<string> rawargs(argv + 1, argv + argc);
+ std::vector<std::string> rawargs(argv + 1, argv + argc);
- string env_prefix; // defaults to REAL_
+ std::string env_prefix; // defaults to REAL_
bool verbose = false;
- string args = processccargs(rawargs, env_prefix, verbose);
+ std::string args = processccargs(rawargs, env_prefix, verbose);
- string command = getexe(env_prefix + "CC");
- string flags = getexe(env_prefix + "CC_FLAGS", true);
- args.insert(0, flags.empty() ? string() : flags + " ");
+ std::string command = getexe(env_prefix + "CC");
+ std::string flags = getexe(env_prefix + "CC_FLAGS", true);
+ args.insert(0, flags.empty() ? std::string() : flags + " ");
setupccenv();