This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mt_allocator.cc assumes sizeof(size_t) == sizeof(void *)


On 11/10/2014 10:32 AM, Joseph Myers wrote:
> On Sat, 8 Nov 2014, Paolo Carlini wrote:
>
>> Good. Sorry, if I missed some relatively recent development: is now GCC
>> installing its own stdint.h on *all* the supported targets, thus we can safely
> No; I sent a list of targets missing the information in 
> <https://gcc.gnu.org/ml/gcc-patches/2013-06/msg00248.html> (possibly out 
> of date now, but the goal there of unifying uint32_type_node and 
> c_uint32_type_node etc. still applies).
>
I just submitted a patch using stdint.h and uintptr_t to gcc-patches.
I think this fixes the code in a standard way. I don't know what to
do about the list of targets you cited which don't support that.

> We are, it appears, still missing stdint.h type information in GCC for 
> NetBSD, VxWorks, Symbian, LynxOS, QNX, Interix, TPF.  Maybe we need to 
> issue a last call to maintainers caring about those targets to fill in 
> this information, and failing that deprecate them.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]