[arm-gnu] possible bug in strtol method in Fall 2009 arm-eabi
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[arm-gnu] possible bug in strtol method in Fall 2009 arm-eabi



Hi,

The following code ends with bus fault. Was working with spring 2009
release, through.

char *end;
long value = strtol("1234", &end, 10);

or similar approach:

long value = atoi("1234");

Both generate core fault exception on STM32F103 CPU.

Any possible workaround for this?

Best regards,
Raul