WCharacter.h and ctype.h function definitions conflict... [imported] #830
Labels
Type: Invalid
Off topic for this repository, or a bug report determined to not actually represent a bug
8000
This is Issue 830 moved from a Google Code project.
Added by 2012-02-25T07:46:26.000Z by wes...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.
Closed (Invalid).
Original labels: Type-Defect, Priority-Medium
Original description
WCharacter.h (part of Arduino) contains a bunch of isXXXX() function definitions that are also defined in ctype.h, which it includes. But the Arduino definitions return "boolean", while ctype.h (and apparently the C99 standard) definitions use "int."
This does not seem to create problems now, but there are some indications on other platforms that this will result in errors under future versions of the compiler and/or fussier reporting modes.
If WCharacter.h is going to implement inline versions of the libc functions, it should do so with standards-compatible prototypes...
The text was updated successfully, but these errors were encountered: