Re: [PATCH] C++11 keyword fallback

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

 



On 02/04/13 00:51, Miles Bader wrote:
> I expect these days pretty much every significant compiler
> supports const anyway,

I think that was always true for C++, which is why the
issue never came up for 'const' and C++.  There were
a few old C programs that used 'const' as identifiers,
but they had to get changed for C89 anyway.  No old
.h files happened to use 'const' as an identifier, so
we lucked out.

In contrast, '#define final /**/' is likely to cause problems,
e.g., on Fedora 17, /usr/include/gcrypt-module.h does this:

extern "C" {

...

typedef struct gcry_md_spec
{
  ...
  gcry_md_final_t final;
  ...
} gcry_md_spec_t;

...

}

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux