Re: ~OT: any proposals to add provision for binary integer values

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

 



Shriramana Sharma wrote:

> which all mean the same. But we are not allowed to use binary values:
> 
> 0b1111101000
> 
> So I wonder if this can be included into a future standard of both C and
> C++. Does anyone know if this has already been suggested and accepted?

This feature was actually added to gcc 4.3 back in April, after sitting
around in various patch forms for nearly two years.  If you read the
thread, it is hoped that having this feature in a popular production
compiler will inspire the standards bodies to adopt it in the future,
where they have previously dismissed it as unnecessary.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23479
http://gcc.gnu.org/ml/gcc-patches/2007-04/msg01458.html

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux