You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is Issue 830 moved from a Google Code project.
Added by 2012-02-25T07:46:26.000Z by [email protected].
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:
This is Issue 830 moved from a Google Code project.
Added by 2012-02-25T07:46:26.000Z by [email protected].
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: