Skip to content
  • grischka's avatar
    'long' review · 14430394
    grischka authored
    add some features for more complete 'long' support
    
    tcc.h:
    - use LONG_SIZE=4/8 instead of TCC_LONG_ARE_64_BIT
    tccgen.c:
    - add ptrdiff_type, update size_type
    - support shift and ?: operations
    - support long enum types
    - display 'long' from type_to_str
    - nwchar_t is unsigned short on windows
    - unrelated: use memcpy in init_putv for long doubles to avoid
      random bytes in the image (if tcc was compiled by gcc) for
      diff purposes.
    tccpp.c:
    - make parse_number return correct types
    - improve multi-character-constants 'XX' 'abcd'
    Changelog:
    - update
    14430394