[Bug libstdc++/104605] _GLIBCXX_USE_C99_STDINT_TR1 macro is not defined for canadian cross freestanding C++ toolchain

arsen at aarsen dot me gcc-bugzilla@gcc.gnu.org
Mon Oct 3 20:14:19 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104605

Arsen Arsenović <arsen at aarsen dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |arsen at aarsen dot me

--- Comment #10 from Arsen Arsenović <arsen at aarsen dot me> ---
Created attachment 53661
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53661&action=edit
*-elf --without-headers --without-newlib should(?) provide stdint.h

Try applying this patch. I'll see if it's correct tomorrow and send it upstream
if it is. Also don't forget to tell GCC you don't have newlib via:
--without-newlib --without-headers.


More information about the Gcc-bugs mailing list