2011/5/10 Iván García García <[email protected]>: > I'm getting and error in rtos.c compiling openOCD on line 145: > sscanf(packet, "qP%8lx%16" SCNx64, &mode, &threadid); > Sorry but the output is in spanish: rtos.c:221:4: error: se desconoce el > carácter de tipo de conversión 'l' en el formato > It says something like the conversion type character 'l' is unknown. > Any guesses?
Try: sscanf(packet, "qP%8" SCNx32 "%16" SCNx64, &mode, &threadid); -- Øyvind Harboe Can Zylin Consulting help on your project? US toll free 1-866-980-3434 / International +47 51 87 40 27 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
