Closed GoogleCodeExporter closed 9 years ago
Original comment by dwhall...@gmail.com
on 19 Sep 2010 at 1:35
r607
- Created native function pointer type, pPmNativeFxn_t, in pm.h
- Relocate "extern ...fxn_table[]..." from interp.c to pm.h (required for MBED
compiler).
- Made pmImgCreator.py generate an array of function pointer types
- Fixed nesting of __PM_H__ and __cplusplus in pm.h
- Set HAVE_BYTEARRAY to False in mbed/pmfeatures.py to match original setting
- Created argument to exclude .zip files when making the .zip for mbed's
on-line compiler
- Added cast for memchr() in src/lib/string.py in two places to fix error
reported by mbed's compiler
Mbed's C++ compiler didn't like the syntax for the array of function pointers.
The workaround is to create a typedef of a native function pointer and create
an array of that type.
Can't create a regression test for this. Tested by building for mbed, desktop
an all other platforms I have a compiler for. All platforms compiled.
Mainlined directly
Original comment by dwhall...@gmail.com
on 20 Sep 2010 at 9:07
Original issue reported on code.google.com by
dwhall...@gmail.com
on 18 Sep 2010 at 8:56