[Bug c/27065] error: array type has incomplete element type

2009-11-04 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-11-05 00:42 --- Actually this is valid C99 code after all. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/27065] error: array type has incomplete element type

2006-04-06 Thread rdabrowa at poczta dot onet dot pl
--- Comment #2 from rdabrowa at poczta dot onet dot pl 2006-04-06 19:09 --- (In reply to comment #1) > This is invalid code, yes it might had been accepted before 4.1.0 but it was > still invalid code. The array to pointer decay happens after the type is > completed for functions so th

[Bug c/27065] error: array type has incomplete element type

2006-04-06 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-06 18:42 --- This is invalid code, yes it might had been accepted before 4.1.0 but it was still invalid code. The array to pointer decay happens after the type is completed for functions so the element of the array type has to b