summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Main.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2009-02-16 12:44:02 -0800
committerMark Spruiell <mes@zeroc.com>2009-02-16 12:44:02 -0800
commit7850a1273f217874f9a2ce1c195aed5205ce43e6 (patch)
treed5c99dccfeb91ed218674f82e6dfd2431ed6b31a /cpp/src/slice2cpp/Main.cpp
parentBug 3715 filterMcppWarnings fix filtered strings. (diff)
downloadice-7850a1273f217874f9a2ce1c195aed5205ce43e6.tar.bz2
ice-7850a1273f217874f9a2ce1c195aed5205ce43e6.tar.xz
ice-7850a1273f217874f9a2ce1c195aed5205ce43e6.zip
bug 3731 - backward incompatibilities in Slice library
Diffstat (limited to 'cpp/src/slice2cpp/Main.cpp')
-rw-r--r--cpp/src/slice2cpp/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/slice2cpp/Main.cpp b/cpp/src/slice2cpp/Main.cpp
index edc05acd543..7e42a5ab96a 100644
--- a/cpp/src/slice2cpp/Main.cpp
+++ b/cpp/src/slice2cpp/Main.cpp
@@ -170,15 +170,15 @@ main(int argc, char* argv[])
{
if(depend)
{
- Preprocessor icecpp(argv[0], *i, cppArgs, sourceExtension);
- if(!icecpp.printMakefileDependencies(Preprocessor::CPlusPlus, includePaths))
+ Preprocessor icecpp(argv[0], *i, cppArgs);
+ if(!icecpp.printMakefileDependencies(Preprocessor::CPlusPlus, includePaths, sourceExtension))
{
return EXIT_FAILURE;
}
}
else
{
- Preprocessor icecpp(argv[0], *i, cppArgs, sourceExtension);
+ Preprocessor icecpp(argv[0], *i, cppArgs);
FILE* cppHandle = icecpp.preprocess(false);
if(cppHandle == 0)