Skip to content

Conflicting type for first argument of utoa with stdlib.h declaration #4002

Closed
@jlbirccyn

Description

@jlbirccyn

Hello

In hardware/arduino/sam/cores/arduino/itoa.h utoa is declared as follow:

extern char* utoa( unsigned long value, char *string, int radix ) ;

in a gcc 4.9.3 for arm distribution, it conflicts with the declaration of the built-in utoa:

char *  _EXFUN(__utoa,(unsigned, char *, int));

(_EXFUN is defined as follow #define _EXFUN(name, proto) __cdecl name proto )

Metadata

Metadata

Assignees

Labels

Architecture: SAMApplies only to the SAM microcontrollers (Due)Component: CoreRelated to the code for the standard Arduino APIType: Bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions