| От | Walt H |
|---|---|
| Тема | Re: Error in convert.c when compiling w/ odbcver=0x0300 |
| Дата | |
| Msg-id | 3F99331C.7070804@comcast.net обсуждение исходный текст |
| Ответ на | Re: Error in convert.c when compiling w/ odbcver=0x0300 (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | pgsql-odbc |
Bruce Momjian wrote: > Can you suggest a patch to fix this? > > --------------------------------------------------------------------------- > I'm sorry, it's been a while since I posted this. I found a workaround and was able to get it compile since then. From what I remember, it has to do with the way SQLBIGINT was defined from unixodbc. I believe it is defined as en element of a struct, which created the "incompatible types" error I received. Since I'm not all too familiar with C, I cheated and created: typedef long long int mySQLBIGINT; typedef unsigned mySQLBIGINT mySQLUBIGINT; at the top of convert.c and replaced the variables used down below with mySQLBIGINT etc... This allows it to compile. What a nasty hack. So to answer your original question: I don't think you want my patch :) -Walt
В списке pgsql-odbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера