This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: MSVC build


On 03/05/2010 01:21 PM, Mladen Turk wrote:

TODO is a test suite



I added a simple batch file for running the tests. Had to add posix types not present in MSVC (uint8_t, uint32_t, etc...) and cast the ffi_closure_alloc to (ffi_closure *) in test files. This is needed cause tests must be forcibly compiled as C++ code because unlike GCC, MSVC C compiler doesn't allow mixing code and variables declaration.

Anyhow libffi.call compiles mostly except
closure_stdcall.c (inline GAS), err_bad_abi and pyobjc-tc

However 46 tests fails (WIN32)
(list provided)

Regards
--
^TM

Attachment: failed.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]