Changeset dcef1127 in mainline


Ignore:
Timestamp:
2023-10-22T17:26:17Z (13 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f0378c6
Parents:
dd7df1c
git-author:
Vojtech Horky <vojtech.horky@…> (2023-07-13 19:18:21)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2023-10-22 17:26:17)
Message:

char8_t behaves differently in C and C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/uchar.h

    rdd7df1c rdcef1127  
    3838#include <stdint.h>
    3939
     40/*
     41 * char8_t became part of C++ with C++20.
     42 * It is part of C23 hence we define it for C compilations only.
     43 */
     44#ifndef __cplusplus
    4045typedef uint8_t char8_t;
     46#endif
     47
    4148typedef uint32_t char32_t;
    4249
Note: See TracChangeset for help on using the changeset viewer.