diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-09-28 11:02:09 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-09-28 11:02:09 +0000 |
commit | a7c9f534e6c2c08c010060f659d548dc3ad24298 (patch) | |
tree | 35bc1b66828b67804f26ef75c8c4f3b726d8184e /cpp/src/slice2py | |
parent | Fixed bug 1239 (diff) | |
download | ice-a7c9f534e6c2c08c010060f659d548dc3ad24298.tar.bz2 ice-a7c9f534e6c2c08c010060f659d548dc3ad24298.tar.xz ice-a7c9f534e6c2c08c010060f659d548dc3ad24298.zip |
Fixed bug 1417
Diffstat (limited to 'cpp/src/slice2py')
-rw-r--r-- | cpp/src/slice2py/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2py/Main.cpp b/cpp/src/slice2py/Main.cpp index f2d9cc6c15d..d970dbe5557 100644 --- a/cpp/src/slice2py/Main.cpp +++ b/cpp/src/slice2py/Main.cpp @@ -439,7 +439,7 @@ main(int argc, char* argv[]) vector<string> optargs = opts.argVec("D"); for(vector<string>::const_iterator i = optargs.begin(); i != optargs.end(); ++i) { - cppArgs += " -D" + *i; + cppArgs += " -D\"" + *i + "\""; } } if(opts.isSet("U")) @@ -447,7 +447,7 @@ main(int argc, char* argv[]) vector<string> optargs = opts.argVec("U"); for(vector<string>::const_iterator i = optargs.begin(); i != optargs.end(); ++i) { - cppArgs += " -U" + *i; + cppArgs += " -U\"" + *i + "\""; } } if(opts.isSet("I")) @@ -455,7 +455,7 @@ main(int argc, char* argv[]) includePaths = opts.argVec("I"); for(vector<string>::const_iterator i = includePaths.begin(); i != includePaths.end(); ++i) { - cppArgs += " -I" + *i; + cppArgs += " -I\"" + *i + "\""; } } preprocess = opts.isSet("E"); |