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/slice2docbook/Main.cpp | |
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/slice2docbook/Main.cpp')
-rw-r--r-- | cpp/src/slice2docbook/Main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2docbook/Main.cpp b/cpp/src/slice2docbook/Main.cpp index 71593b9dd69..d876e955e1b 100644 --- a/cpp/src/slice2docbook/Main.cpp +++ b/cpp/src/slice2docbook/Main.cpp @@ -94,7 +94,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")) @@ -102,7 +102,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")) @@ -110,7 +110,7 @@ main(int argc, char* argv[]) vector<string> optargs = opts.argVec("I"); for(vector<string>::const_iterator i = optargs.begin(); i != optargs.end(); ++i) { - cppArgs += " -I" + *i; + cppArgs += " -I\"" + *i + "\""; } } preprocess = opts.isSet("E"); |