Hello, I am trying to use the function "strtol" to convert hex-strings to longs (C166, version 3.12). I am including <stdlib.h> and <stdio.h>, but the linker complains "Error 140: 'strtol' undefined; assuming .... ". According to http://www.keil.com/support/docs/1685.htm , that function is implemented. What could be the problem? Thanks for any help! Holger
The strtol function is implemented in C166 V4.06 and later. It was not included in the Version 3.xx tools. Contact our sales department to find out about upgrtading. Keil Support