[cfe-dev] MS 128-bit literals don't always have the correct type

Dmitri Gribenko gribozavr at gmail.com
Sun Sep 23 13:45:48 PDT 2012


On Sun, Sep 23, 2012 at 11:41 PM, Stephen Canon <scanon at apple.com> wrote:
> On Sep 23, 2012, at 4:20 PM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>
> Yes, currently it is misleading and just bad to turn on
> -fms-extensions if one wants 128-bit literals.  Since this is not an
> MS extension, code using this feature does not need other MS
> extensions.
>
> Should support be enabled by default as a clang extension?

I would say yes, but since a new kind of integer literal is such a big
thing, we definitely need a comment from our honorable C++ language
layers who working on Clang.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-dev mailing list