[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
- To: arm-gnu@xxxxxxxxxxxxxxxx
- Subject: [arm-gnu] possible bug in strtol method in Fall 2009 arm-eabi
- From: Raul Bachmann <raul.bachmann@xxxxxxxxx>
- Date: Tue, 27 Oct 2009 10:46:10 +0200
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