APPROVE
On Sun, Mar 20, 2011 at 5:28 PM, Mats Lidell <matsl(a)xemacs.org> wrote:
Hi,
(Trying patcher for the first time ... ;-)
This patch hasn't been commited. It is about the use of the auto
keyword. It is, from what I know, not needed since auto is the
default. In C++0x auto will get a new meaning and the current usage
will be illegal.
You're right. That keyword is unnecessary.
(Could it be so evil that there are compilers out there that would
not
place an automatic variable in a register if the auto keyword is
used?)
We know what will happen with these two variables. Their addresses
are taken, so they will be placed in memory, not in registers. And
anyway, the "auto" keyword essentially means, "Put this variable in
memory, put it in a register, put it in a register for some of the
function's execution and in memory for the rest; I don't care."
--
Jerry James
http://www.jamezone.org/
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches