On Fri, 22 Aug 2014, DJ Delorie wrote:

> > Maybe you need to refactor __glibcxx_digits so there is a version taking 
> > the bitsize as an argument rather than using sizeof(T) * __CHAR_BIT__, but 
> > that should be the only change needed to handle such types with the 
> > existing macros.  The bitsize macros should be the only ones needing 
> > predefining to pass information to libstdc++.
> 
> Like this?

Yes (well, the libstdc++ changes will need to go to the libstdc++ mailing 
list for review there, but this is the sort of thing I'd expect to keep 
the way libstdc++ defines these limits as consistent as possible between 
different types).

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to