Skip to content

Conversation

@chipbarnaby
Copy link
Contributor

@chipbarnaby chipbarnaby commented Sep 6, 2024

Description

Eliminate redefinition of ctype functions (e.g. isspace) to cause a compiler error. This scheme allowed detection of possibly incorrect use of such functions. However, downstream 3rd party #include files that use ctype functions could not be compiled. In particular, the Mac build failed due to this approach.

Also changed #include <ctype.h> to #include as in incremental step toward use of C++ headers as opposed to legacy C headers.

No results changes. No documentation changes.

@nealkruis
Copy link
Contributor

@chipbarnaby, have you confirmed that the "W" variants are still needed in some cases? Doesn't have to hold this up, but if you have maybe we can get rid of them all together? I was never able to reproduce the issue described in these comments.

@chipbarnaby chipbarnaby merged commit b19eaef into main Sep 7, 2024
@chipbarnaby chipbarnaby deleted the ctype branch September 7, 2024 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants