Skip to content

Commit

Permalink
Fix ice2slice and build it with Make builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pepone committed Jan 17, 2024
1 parent 32e5f83 commit b308c34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cpp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ load_first = Ice IceSSL IceBox IcePatch2Lib Glacier2Lib IceGridLib IceStormLib
#
projects :=
$(foreach t,$(wildcard $(lang_srcdir)/src/slice2*),$(eval $(call create-translator-project,$(call project,$t))))
$(eval $(call create-translator-project,$(call project,$(lang_srcdir)/src/ice2slice)))
include $(foreach p,$(load_first),src/$p/Makefile.mk)
include $(filter-out $(foreach p,$(load_first),%/src/$p/Makefile.mk),$(shell find $(lang_srcdir)/src -name Makefile.mk))
$(call make-projects,$(projects),make-cpp-src-project,,$(filter all cpp,$(ICE_BIN_DIST)))
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/ice2slice/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ compile(const vector<string>& argv)
}
else
{
UnitPtr p = Unit::createUnit(false, false);
UnitPtr p = Unit::createUnit(false);
int parseStatus = p->parse(*i, cppHandle, debug);

if(!icecpp->close())
Expand Down

0 comments on commit b308c34

Please sign in to comment.