Unix Technical Forum

Re: Odbcapi30.c - 64 bit compiler warning cleanup

This is a discussion on Re: Odbcapi30.c - 64 bit compiler warning cleanup within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> > -----Original Message----- > From: Ludek Finstrle [mailto:luf@pzkagis.cz] > Sent: 19 January 2006 11:24 > To: Dave Page > ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:46 AM
Dave Page
 
Posts: n/a
Default Re: Odbcapi30.c - 64 bit compiler warning cleanup



> -----Original Message-----
> From: Ludek Finstrle [mailto:luf@pzkagis.cz]
> Sent: 19 January 2006 11:24
> To: Dave Page
> Cc: pgsql-odbc@postgresql.org
> Subject: Re: [ODBC] Odbcapi30.c - 64 bit compiler warning cleanup
>
> > The attached patch cleans up the 64 bit compiler warnings in
> > odbcapi30.c.

>
> I'll try it today or tomorrow (I hope).


Thanks - I should add that I'm not sure how to deal with the other ones.
I think it needs someone far more experienced in 32/64 bit issues than
me to think about it.

Regards, Dave.

---------------------------(end of broadcast)---------------------------
TIP 3: 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
  #2 (permalink)  
Old 04-16-2008, 02:47 AM
Ludek Finstrle
 
Posts: n/a
Default Re: Odbcapi30.c - 64 bit compiler warning cleanup

> > > The attached patch cleans up the 64 bit compiler warnings in
> > > odbcapi30.c.

> >
> > I'll try it today or tomorrow (I hope).


I'm a little bit late. I had problems with my 64-bit box during weekend.
I have installed pgsql and unixODBC now. I hope I finish this work today.

> Thanks - I should add that I'm not sure how to deal with the other ones.
> I think it needs someone far more experienced in 32/64 bit issues than
> me to think about it.


I take a look on it but I think I'm less experienced in C and I have no
experience with 32/64 bit issue.

Regards,

Luf

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
choose an index scan if your joining column's datatypes do not
match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-16-2008, 02:48 AM
Ludek Finstrle
 
Posts: n/a
Default Re: Odbcapi30.c - 64 bit compiler warning cleanup

> The attached patch cleans up the 64 bit compiler warnings in
> odbcapi30.c.


I test it and add more warning cleanups. I include your patch into
attached one. I tried it a little bit on 64-bit and 32-bit box.

I don't solve the problem in options.c where 64-bit pointer may
be passwd throught 32-bit number. I don't know how to solve it.

Please review and comment.

Regards,

Luf


---------------------------(end of broadcast)---------------------------
TIP 4: 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
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 09:19 PM.


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