bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/31320] binutils-2.42 build failure on macos - error: 'uchar.h'


From: bryanhundven at gmail dot com
Subject: [Bug gold/31320] binutils-2.42 build failure on macos - error: 'uchar.h' file not found
Date: Wed, 31 Jan 2024 23:33:34 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31320

Bryan Hundven <bryanhundven at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bryanhundven at gmail dot com

--- Comment #1 from Bryan Hundven <bryanhundven at gmail dot com> ---
Looks like from the standard, char16_t and char32_t are uint_least16_t and
uint_least32_t (from stdint.h), respectively.

Could do something like:


```
#ifdef __APPLE__
#include <stdint.h>
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
#else
#include <uchar.h>
#endif
```

...in both output.cc and stringpoo.cc.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]