This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] | |
The C preprocessor now supports, as a GCC extension, integer constants written in binary. They consist of a prefix <code>0b</code> or <code>0B</code> followed by a sequence of 0 and 1 digits.
As a final action, after Manuel López-Ibáñez committed the patch, here's the update for http://gcc.gnu.org/gcc-4.3/changes.html Manuel asked for:
--- changes.html.orig 2007-06-06 18:34:48.000000000 +0200 +++ changes.html 2007-06-07 17:48:44.000000000 +0200 @@ -247,6 +247,12 @@ <code>calloc</code> constant size handling. </li>
+ <li> + Binary integer constants are now supported. The are introduced + by a <code>0b</code> (or <code>0B</code>) prefix, followed by + a sequence of 0 or 1 digits. + </li> + </ul>
<h3>C++</h3>
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |