Mercurial > pub > dyncall > dyncall
diff test/callback_plain_c++/Makefile.generic @ 557:b36a738c8975
- dyncallback: fix for calling back win/x64 C++ methods returning non-trivial aggregates (thanks Raphael!)
- test/callback_plain_c++:
* added test code for C++ method callbacks returning non-trivial aggregates
* makefile linker command fix (was linking assuming c and not c++)
- test/plain_c++: comments for completeness
author | Tassilo Philipp |
---|---|
date | Sat, 20 Aug 2022 21:04:15 +0200 |
parents | ca28e9e3c644 |
children | 09bf0470ed50 |
line wrap: on
line diff
--- a/test/callback_plain_c++/Makefile.generic Mon Jul 11 23:17:50 2022 +0200 +++ b/test/callback_plain_c++/Makefile.generic Sat Aug 20 21:04:15 2022 +0200 @@ -7,7 +7,7 @@ .PHONY: all clean install all: ${APP} ${APP}: ${OBJS} - ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} + ${CXX} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} clean: rm -f ${APP} ${OBJS} install: