Ronald Vanschoren pisze: > Did you actually try it? There is no redefinition normally (depends on > how the .h file of ftd2xx is made) and I think I used this approach > before (although slightly different). Guess it's a 2 minute check for > you (just one function will do), so if you don't mind :-)
When I replace FT_Write_ptr with FT_Write, and define: #define FT_Write (*FT_Write) I get: ft2232.c:94: error: 'FT_Write' redeclared as different kind of symbol C:/msys/1.0/home/chopin/openocd/ftd2xx/ftd2xx.h:251: error: previous declaration of 'FT_Write' was here ft2232.c:94: error: 'FT_Write' redeclared as different kind of symbol C:/msys/1.0/home/chopin/openocd/ftd2xx/ftd2xx.h:251: error: previous declaration of 'FT_Write' was here _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development