passing method callback to c
Original Reporter info from Mantis: DenJean
-
Reporter name: Jan Van hijfte
Original Reporter info from Mantis: DenJean
- Reporter name: Jan Van hijfte
Description:
explanation here:
http://lists.freepascal.org/lists/fpc-devel/2010-May/019934.html
I tested on lenny qemu-arm and on N900 (native compilation)
The test was with printf of received pointers in
qt4 binding code (c++) and writelns in pascal.
I understand that setting up Qt is out of the question for you,
though lenny qemu-arm is nice now (fpc and libqt4pas5-dev available
via apt-get), but the problem has been isolated:
incorrect passing of method struct
If however you insist on a small program (some c and some pascal),
just ask (may take some time). I could perhaps adapt one of the
tprintfx.pp tests of the testsuite,th ?
I managed to create a native pascal compiler on N900 and run the test suite,
it this is of interest to fpc-devels, can someone provide me with upload access rights/instructions.
utils/digest output/arm-linux/log
Total = 4899 (107:4792)
Total number of compilations = 2932 (95:2837)
Successfully compiled = 2166
Successfully failed = 671
Compilation failures = 93
Compilation that did not fail while they should = 2
Total number of runs = 1967 (12:1955)
Successful runs = 1955
Failed runs = 12
Number units compiled = 101
Number program that should not be run = 95
Number of skipped tests = 314
Number of skipped graph tests = 10
Number of skipped interactive tests = 26
Number of skipped known bug tests = 5
Number of skipped tests for other versions = 10
Number of skipped tests for other cpus = 159
Number of skipped tests for other targets = 104
Mantis conversion info:
- Mantis ID: 16520
- Version: 2.5.1
- Fixed in version: 2.6.0
- Fixed in revision: 15390 (#a4c4bc1e)
- Monitored by: » DenJean (Jan Van hijfte)