Re: Compiler warnings in psqloodbc 08.03.0200
От | Hiroshi Saito |
---|---|
Тема | Re: Compiler warnings in psqloodbc 08.03.0200 |
Дата | |
Msg-id | 013701c923d3$adf2ec60$0f01a8c0@IBMC9A0F63B40D обсуждение исходный текст |
Ответ на | Compiler warnings in psqloodbc 08.03.0200 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Compiler warnings in psqloodbc 08.03.0200
|
Список | pgsql-odbc |
Hi. Information, one reality. > Zoltan Boszormenyi wrote: >> In pgapi30.c, two instances of >> "cast from pointer to integer of different size" > > They may come from the strange handling of unixODBC's > 64bit ODBC. Honestly I don't understand how to use > 64-bit unixODBC correctly. Probably you can remove the > warnings by #defining BUILD_REAL_64_BIT_MODE somewhere. We tried it by RedHat x86_64. with unixODBC(rpm Package) before psqlODBC release(08.03.0300) [hiroshi@info psqlodbc-08.03.0300x]$ odbc_config --cflags -DHAVE_UNISTD_H -DHAVE_PWD_H -DHAVE_SYS_TYPES_H -DHAVE_LONG_LONG -DSIZEOF_LONG=8 <case 1> This had a big problem in operation. Driver: BUILD_REAL_64_BIT_MODE Application: None <case 2> This is comfortably. Driver: BUILD_REAL_64_BIT_MODE Application: BUILD_REAL_64_BIT_MODE <case 3> This is comfortably. (test of a simple query) Driver: None Application: BUILD_REAL_64_BIT_MODE <case 4> This is comfortably. Driver: None Application: None Therefore, using BUILD_REAL_64_BIT_MODE complicates a problem now.... Note: They are not many tests. Regards, Hiroshi Saito
В списке pgsql-odbc по дате отправления: