C++0x support macros

Aleix Pol aleixpol at kde.org
Mon May 30 16:19:06 UTC 2011


On Mon, May 30, 2011 at 5:23 PM, Milian Wolff <mail at milianw.de> wrote:

> David Nolden, 30.05.2011:
> > Isn't c++0x downward-compatible? Otherwise, I would prefer if this
> > would work configuration-free, and we would simply always allow C++0x
> > syntax.
>
> I thought it was not compatible as it introduces new keywords. A quick
> question in ##c++ on freenode suggested otherwise:
>
> Apparently the "auto" keyword (not standard before?) changed meaning, but
> otherwise it should all more or less work with code written for the old
> standard. Great :)
>
> So yeah, I'll just try to enable it always.
>
> Bye
> --
> Milian Wolff
> mail at milianw.de
> http://milianw.de
>
> --
> KDevelop-devel mailing list
> KDevelop-devel at kdevelop.org
> https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
>
>
I think that if we support c++0x (c++11 now, no?) we should make it default.
We don't want to support older standards, that would be complicated.

But yeah, there are new keywords in the newer standard there may be problems
with this, but we can consider this a feature :).

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110530/2714f8d9/attachment.html>


More information about the KDevelop-devel mailing list