Обсуждение: CVS HEAD compile error

Поиск
Список
Период
Сортировка

CVS HEAD compile error

От
"Adam H. Pendleton"
Дата:
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

Re: CVS HEAD compile error

От
Andreas Pflug
Дата:
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

Re: CVS HEAD compile error

От
"Adam H. Pendleton"
Дата:
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
>


Re: CVS HEAD compile error

От
"Adam H. Pendleton"
Дата:
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
>


Re: CVS HEAD compile error

От
Andreas Pflug
Дата:
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