Re: GIT on MinGW problem
- From
Han-Wen Nienhuys <hanwen@xs4all.nl>
- Date
- May 27, 2007, 17:04 UTC
- Message-ID
- <4659BA07.4080307@xs4all.nl>
- In-Reply-To
- <Pine.LNX.4.64.0705271149450.4648@racer.site>
Johannes Schindelin escreveu:
Show 7 quoted lines
>> ((Tcl_Obj **) objv) += (async + 3); > > Ah yes, I was using MinGW's own GCC, which is GCC 3.something. > > It is a new "feature" of GCC 4.x to disallow constructs like these. > (Probably because GCC people think that other people are not intelligent > enough to understand such constructs, and therefore prohibit their use.)
I very much doubt that. GCC uses type information to determine whether pointers might be aliased. I think disallowing such constructs helps with compiler optimization.
-- Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen