Closed vtorri closed 8 years ago
Make check on Windows leads to undefined symbols. Reason : memory and stack functions are not exported.
One possible solution : correctly define XPCHECKAPI in xpost_private.h:
and declare/define functions used in unit tests with XPCHECKAPI
remarks ?
Ok. Does that handle the linking too? or just prototyping?
linking too. Actually, the problem was linking
Fixed in 76966b138fe9b4262da8b59db51c09dc1f6bea26 (with also previous commits)
Make check on Windows leads to undefined symbols. Reason : memory and stack functions are not exported.
One possible solution : correctly define XPCHECKAPI in xpost_private.h:
ifdef HAVE_CHECK
define XPCHECKAPI XPAPI
else
define XPCHECKAPI
endif
and declare/define functions used in unit tests with XPCHECKAPI
remarks ?