Skip to content
Snippets Groups Projects
  • Rob Swindell's avatar
    ec20d959
    Replace ctype.h function calls with new MSVC-safe XPDEV macros · ec20d959
    Rob Swindell authored
    I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values.
    
    This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service).
    
    The new macros names are bit more descriptive as well.
    ec20d959
    History
    Replace ctype.h function calls with new MSVC-safe XPDEV macros
    Rob Swindell authored
    I'm fed-up with MSVC assertions in ctype functions (e.g. isdigit, isprint, isspace, etc.) when called with out-of-range (e.g. negative) values.
    
    This problem only affects MSVC debug builds, but if you run them (like I do), these things are like little time bombs that can drive you crazy (knocking your board out of service).
    
    The new macros names are bit more descriptive as well.