X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Wed, 6 Jun 2007 11:34:02 -0400 Message-Id: <200706061534.l56FY2Zl002573@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <4666b1e5$0$10185$9b4e6d93@newsspool4.arcor-online.net> (message from Robert Riebisch on Wed, 06 Jun 2007 15:08:53 +0200) Subject: Re: error: invalid lvalue in increment References: <46667036$0$20285$9b4e6d93 AT newsspool3 DOT arcor-online DOT net> <200706061211 DOT l56CBUnG030001 AT envy DOT delorie DOT com> <4666b1e5$0$10185$9b4e6d93 AT newsspool4 DOT arcor-online DOT net> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > GCC no longer allows casts on the left side. You'll have to cast it > > Why? ;-) The C language does not permit it, and gcc is becoming more strict about following the C spec. It also messes up aliasing optimizations.