Re: gcc4 and casting lvalues
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=gPtQiK77rVHQeOvhDuwK+E1zq6ffYin/WmpPVFgKr56sPDiwzgqGAgWEpIn9X3SbG8bfYl1RYJCJhMLvef1fRjaAhHx2Tg1kp0OIW/38tVjh920gS5Xv5LlkknboaX1sn5qNmlyj7SMAIgl1J/Gpgmpq2y8Wpi+p3pWErrwb7hs= They're not really changes to the language, the language was already defined that way. The changes to the compiler are to bring it more into line with how the language was defined all along. IOW, the way that GCC did things before was broken -- they've just fixed it. On Fri, 14 Jan 2005 19:00:02 +1000, Chris Bergmann <ceebers@mac.com> wrote:
ye gads, that's horrible.
What were they thinking when they spec'ed those templating changes?
(that's a serious question- anyone got an article on the philosophy behind the language changes? they disgust me at first glance.)
On 14/01/2005, at 11:04, Andrew Pinski wrote:
On Jan 13, 2005, at 7:58 PM, Andrew Pinski wrote:
On Jan 13, 2005, at 7:53 PM, Sam Vaughan wrote:
It appears that gcc 4 has an issue with casting lvalues: Is this expected behaviour? I might have a lot of code to change...
Yes it is expected, this was a bad extension to C which was removed. You can read the release notes for gcc 4.0.0 at <http://gcc.gnu.org/gcc-4.0/changes.html>.
You might also want to read the 3.4.0 release notes: <http://gcc.gnu.org/gcc-3.4/changes.html> as the C++ front-end has changed a lot too.
-- Pinski
_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/clarkcox3%40gmail.com
This email sent to clarkcox3@gmail.com
-- Clark S. Cox III clarkcox3@gmail.com http://www.livejournal.com/users/clarkcox3/ http://homepage.mac.com/clarkcox3/ _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Clark Cox