| delorie.com/archives/browse.cgi | search |
| Date: | Fri, 22 May 92 15:49:04 EDT |
| From: | DJ Delorie <dj AT ctron DOT com> |
| To: | kuku AT acds DOT physik DOT rwth-aachen DOT de |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | gcc bug? |
| Status: | O |
>typedef double ap_Trans3D[4][4]; > ap_Trans3D p; > p[0][0]=1.0; > p[1][1]=2.0; > p[2][2]=3.0; > p[3][3]=4.0; > p[3][0]=55.; > p[0][3]=66.; `p' is defined to be a four-by-four array. Thus, one should have sixteen initializer values. You have six. What values do the other ten entries have? You never set them anywhere, and local variables are not guaranteed to be initialized to *anything*. DJ dj AT ctron DOT com Life is a banana.
| webmaster | delorie software privacy |
| Copyright © 2026 by DJ Delorie | Updated Sep 20 2026 |