---------- Forwarded message ---------
От: Biswapriyo Nath <[email protected]>
Date: ср, 24 янв. 2024 г., 16:08
Subject: Re: [termux/termux-packages] [Bug]: tcc unhappy about system
headers (Issue #19055)
To: termux/termux-packages <[email protected]>
Cc: Andrew Randrianasulu <[email protected]>, Author <
[email protected]>


This seems an issue with tcc. The following line shows where that error
happened.

$ sed -n 177p /data/data/com.termux/files/usr/include/string.h
size_t strxfrm(char* __BIONIC_COMPLICATED_NULLNESS __dst, const char*
_Nonnull __src, size_t __n);

And __BIONIC_COMPLICATED_NULLNESS macro is defined as

$ grep -ir "define __BIONIC_COMPLICATED_NULLNESS"
/data/data/com.termux/files/usr/include/
/data/data/com.termux/files/usr/include/sys/cdefs.h:#define
__BIONIC_COMPLICATED_NULLNESS _Null_unspecified

So, tcc could not recognize _Null_unspecified attribute.

====


tcc git fails for me on termux/aarch64 in similar manner. Does this sounds
like preprocessor issue?



—

Message ID: <termux/termux-packages/issues/19055/[email protected]>
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to