[Bug c/44316] initialization from incompatible pointer type struct initilization error handling

2010-05-28 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2010-05-28 16:58 --- Here is what gcc trunk says: opsy. gcc --syntax-only pr.c pr.c: In function ‘main’: pr.c:20:10: warning: initialization from incompatible pointer type [enabled by default] The particular case motivating this PR was

[Bug c/44316] initialization from incompatible pointer type struct initilization error handling

2010-05-28 Thread joseph at codesourcery dot com
--- Comment #2 from joseph at codesourcery dot com 2010-05-28 17:12 --- Subject: Re: initialization from incompatible pointer type struct initilization error handling You could probably make WARN_FOR_ASSIGNMENT use pedwarn_init. --

[Bug c/44316] initialization from incompatible pointer type struct initilization error handling

2010-05-28 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-05-28 17:15 --- *** This bug has been marked as a duplicate of 37724 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added