diff options
Diffstat (limited to 'cpp/src/slice2vb')
-rwxr-xr-x | cpp/src/slice2vb/Gen.cpp | 2 | ||||
-rw-r--r-- | cpp/src/slice2vb/Main.cpp | 2 | ||||
-rw-r--r-- | cpp/src/slice2vb/Makefile.mak | 32 |
3 files changed, 34 insertions, 2 deletions
diff --git a/cpp/src/slice2vb/Gen.cpp b/cpp/src/slice2vb/Gen.cpp index ed0a1a92632..59b868efe27 100755 --- a/cpp/src/slice2vb/Gen.cpp +++ b/cpp/src/slice2vb/Gen.cpp @@ -4595,7 +4595,7 @@ Slice::Gen::DelegateMVisitor::visitClassDefStart(const ClassDefPtr& p) ContainedPtr contained = ContainedPtr::dynamicCast(ret); _out << nl << "Dim ret__ As " << retS << " = Nothing"; _out << nl << "Dim ret___PP As IceInternal.ParamPatcher = New IceInternal.ParamPatcher(GetType(" - << retS << "), \"" << (contained ? contained->scoped() : "::Ice::Object") << "\")"; + << retS << "), \"" << (contained ? contained->scoped() : string("::Ice::Object")) << "\")"; _out << nl << "is__.readObject(ret___PP)"; } else diff --git a/cpp/src/slice2vb/Main.cpp b/cpp/src/slice2vb/Main.cpp index 60d7591057b..42f42d57f46 100644 --- a/cpp/src/slice2vb/Main.cpp +++ b/cpp/src/slice2vb/Main.cpp @@ -78,7 +78,7 @@ main(int argc, char* argv[]) vector<string>args; try { - args = opts.parse(argc, argv); + args = opts.parse(argc, (const char**)argv); } catch(const IceUtil::Options::BadOpt& e) { diff --git a/cpp/src/slice2vb/Makefile.mak b/cpp/src/slice2vb/Makefile.mak new file mode 100644 index 00000000000..8fd3bc341d6 --- /dev/null +++ b/cpp/src/slice2vb/Makefile.mak @@ -0,0 +1,32 @@ +# ********************************************************************** +# +# Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved. +# +# This copy of Ice is licensed to you under the terms described in the +# ICE_LICENSE file included in this distribution. +# +# ********************************************************************** + +top_srcdir = ..\.. + +NAME = $(top_srcdir)\bin\slice2vb.exe + +TARGETS = $(NAME) + +OBJS = Gen.o \ + Main.o + +SRCS = $(OBJS:.o=.cpp) + +!include $(top_srcdir)/config/Make.rules.mak + +CPPFLAGS = -I. $(CPPFLAGS) + +$(NAME): $(OBJS) + del /q $@ + $(LINK) $(LD_EXEFLAGS) $(OBJS), $@,, slice$(LIBSUFFIX).lib $(BASELIBS) + +install:: all + copy $(NAME) $(install_bindir) + +!include .depend |