From: <je...@us...> - 2008-08-13 18:29:00
|
Revision: 10757 http://swig.svn.sourceforge.net/swig/?rev=10757&view=rev Author: jezabek Date: 2008-08-13 18:28:53 +0000 (Wed, 13 Aug 2008) Log Message: ----------- Fixed test-suite support for resource compiler from Platform SDK (rc.exe). Fixed syntax for specifying output file in the MSVC compiler. Interfaces generated for opaque classes now explicitly inherit from IUnknown - MIDL would generate incorrect headers otherwise. Modified Paths: -------------- branches/gsoc2008-jezabek/Examples/Makefile.in branches/gsoc2008-jezabek/Source/Modules/com.cxx Modified: branches/gsoc2008-jezabek/Examples/Makefile.in =================================================================== --- branches/gsoc2008-jezabek/Examples/Makefile.in 2008-08-13 12:55:51 UTC (rev 10756) +++ branches/gsoc2008-jezabek/Examples/Makefile.in 2008-08-13 18:28:53 UTC (rev 10757) @@ -1120,15 +1120,15 @@ com: $(SRCS) $(SWIG) -com $(SWIGOPT) $(INTERFACE) $(COMPILETOOL) $(COM_IDL) $(COM_IDL_COMMON_SWITCHES) $(COM_IDL_TLB_SWITCHES) $(COM_TLB_FILE) $(COM_IDL_FILE) - $(COMPILETOOL) $(COM_RC) $(COM_RC_IN_SWITCHES) $(COM_RC_FILE) $(COM_RC_OUT_SWITCHES) $(COM_RES_FILE) + $(COMPILETOOL) $(COM_RC) $(COM_RC_OUT_SWITCHES) $(COM_RES_FILE) $(COM_RC_IN_SWITCHES) $(COM_RC_FILE) $(COMPILETOOL) $(COM_CC) $(COM_CC_SHARED_SWITCHES) $(COM_CC_OUT_SWITCHES)$(TARGET).dll$(COM_EXEC_SUFFIX) $(SRCS) $(ISRCS) $(COM_RES_FILE) $(COM_DEF_FILE) $(COM_LIBS) $(INCLUDES) com_cpp: $(SRCS) $(SWIG) -com -c++ $(SWIGOPT) $(INTERFACE) $(COMPILETOOL) $(COM_IDL) $(COM_IDL_COMMON_SWITCHES) $(COM_IDL_TLB_SWITCHES) $(COM_TLB_FILE) $(COM_IDL_FILE) - $(COMPILETOOL) $(COM_RC) $(COM_RC_IN_SWITCHES) $(COM_RC_FILE) $(COM_RC_OUT_SWITCHES) $(COM_RES_FILE) + $(COMPILETOOL) $(COM_RC) $(COM_RC_OUT_SWITCHES) $(COM_RES_FILE) $(COM_RC_IN_SWITCHES) $(COM_RC_FILE) $(COMPILETOOL) $(COM_CXX) $(COM_CXX_SHARED_SWITCHES) $(COM_CXX_OUT_SWITCHES)$(TARGET).dll$(COM_EXEC_SUFFIX) $(SRCS) $(CXXSRCS) $(ICXXSRCS) $(COM_RES_FILE) $(COM_DEF_FILE) $(COM_LIBS) $(INCLUDES) com_compile: $(SRCS) - $(COMPILETOOL) $(COM_CC) $(COM_CC_SWITCHES) $(COM_CC_OUT_SWITCHES) $(TARGET)$(COM_EXEC_SUFFIX) $(COMSRCS) $(COM_LIBS) + $(COMPILETOOL) $(COM_CC) $(COM_CC_SWITCHES) $(COM_CC_OUT_SWITCHES)$(TARGET)$(COM_EXEC_SUFFIX) $(COMSRCS) $(COM_LIBS) Modified: branches/gsoc2008-jezabek/Source/Modules/com.cxx =================================================================== --- branches/gsoc2008-jezabek/Source/Modules/com.cxx 2008-08-13 12:55:51 UTC (rev 10756) +++ branches/gsoc2008-jezabek/Source/Modules/com.cxx 2008-08-13 18:28:53 UTC (rev 10757) @@ -1998,7 +1998,7 @@ Printv(proxy_class_def, " [\n object,\n local,\n uuid(", NIL); formatGUID(proxy_class_def, proxy_iid, false); - Printv(proxy_class_def, ")\n ]\n interface I$comclassname {\n };\n\n", NIL); + Printv(proxy_class_def, ")\n ]\n interface I$comclassname : IUnknown {\n };\n\n", NIL); Replaceall(proxy_class_forward_def, "$comclassname", classname); Replaceall(proxy_class_def, "$comclassname", classname); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |