On Mon, Sep 26, 2011 at 08:24:20PM +0400, ext Konstantin Tokarev wrote: > 26.09.2011, 20:06, "Oswald Buddenhagen" <[email protected]>: > > of course, one could do it in the compiler > > by adding an appropriate language extension, too. > > This could be implemented within Clang plugin (or fork), > same with gcc, i think.
> but depending on it inside Qt will cause lock-in to particular > compiler which may not be appropriate for many usages... > i don't think this is a real problem. using such a special compiler would add the feature of extended binary compatibility. not using one would, well, do nothing to the status quo. any missing keywords could be #defined out, just like "inline" for older C compilers, various dll import/export-related keywords, gcc's ish __attribute__()s in general, etc. an interesting question would be in how far mixing of modified and unmodified object code would work. in java, it apparently works. _______________________________________________ Qt5-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
