http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58307

--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to Dominique d'Humieres from comment #2)
> 4.6.4 gives
> 
> Error: Syntax error in structure constructor at (1)
> 
> and 4.7.3
> 
> Error: Function 'point' requires an argument list at (1)

Ok, so the new error message is sort of a regression in 4.7. But since the old
one was not fully correct either, I wouldn't count it as a real regression.



> Would you expect an error of the kind
> 
> Error: Parameter 'point' at (1) has not been declared or is a variable,
> which does not reduce to a constant expression
> 
> ?

Well, sounds a bit better at least (although 'point' is not a parameter).

Reply via email to