Unix Technical Forum

CVS HEAD compile error

This is a discussion on CVS HEAD compile error within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> I'm trying to compile pgadmin3, but I get this error: ../ui/frmHint.cpp:47: error: non-local variable '<anonymous struct> hintArray []' uses ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 05:39 PM
Adam H. Pendleton
 
Posts: n/a
Default 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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-17-2008, 05:39 PM
Andreas Pflug
 
Posts: n/a
Default Re: CVS HEAD compile error

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-17-2008, 05:39 PM
Adam H. Pendleton
 
Posts: n/a
Default Re: CVS HEAD compile error

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
>



---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-17-2008, 05:40 PM
Adam H. Pendleton
 
Posts: n/a
Default Re: CVS HEAD compile error

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
>



---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 04-17-2008, 05:40 PM
Andreas Pflug
 
Posts: n/a
Default Re: CVS HEAD compile error

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

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:12 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com