Обсуждение: CVS HEAD compile error
I'm trying to compile pgadmin3, but I get this error: ./ui/frmHint.cpp:47: error: non-local variable '<anonymous struct> hintArray []' uses anonymous type Any idea what's going on? ahp
Adam H. Pendleton wrote: > I'm trying to compile pgadmin3, but I get this error: > > ./ui/frmHint.cpp:47: error: non-local variable '<anonymous struct> > hintArray []' uses anonymous type > > Any idea what's going on? DCE (Dumb Compiler Error :-) Seems we must name it. Regards, Andreas
Did you commit a fix? ahp On May 2, 2005, at 1:13 PM, Andreas Pflug wrote: > Adam H. Pendleton wrote: > >> I'm trying to compile pgadmin3, but I get this error: >> ./ui/frmHint.cpp:47: error: non-local variable '<anonymous >> struct> hintArray []' uses anonymous type >> Any idea what's going on? >> > > DCE (Dumb Compiler Error :-) > Seems we must name it. > > Regards, > Andreas >
Is this really a dumb compiler error? What data type is hintArray []? It needs a data type, not a name. ahp On May 2, 2005, at 1:13 PM, Andreas Pflug wrote: > Adam H. Pendleton wrote: > >> I'm trying to compile pgadmin3, but I get this error: >> ./ui/frmHint.cpp:47: error: non-local variable '<anonymous >> struct> hintArray []' uses anonymous type >> Any idea what's going on? >> > > DCE (Dumb Compiler Error :-) > Seems we must name it. > > Regards, > Andreas > > ---------------------------(end of > broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq >
Adam H. Pendleton wrote: > Is this really a dumb compiler error? What data type is hintArray []? The data type is an unnamed struct, which your compiler won't like. It has a name now. Regards, Andreas