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]

Re: [wwwdocs] [Bug preprocessor/23479] Update to changes.html


As Manuel López-Ibáñez wrote:

> I would propose the following alternative text if Joerg agrees.

> 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.

My only argument about it is that for a mere user, the wording "the C
preprocessor" might not immediately suggest that such a constant is
thus available throughout all C-like languages (i.e. even beyond the
preprocessing stage).  So yet another attempt:

Integer constants written in binary are now supported as a GCC
extension.  They consist of a prefix <code>0b</code> or
<code>0B</code>, followed by a sequence of 0 and 1 digits.

(As this goes into the C language group of the website, that part
ought to be understood by the user already.)
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


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