| From: | Michael Paquier <michael(dot)paquier(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL mailing lists <pgsql-odbc(at)postgresql(dot)org> |
| Subject: | Elimination of (more or less) all compilation warnings on OSX |
| Date: | 2014-03-06 13:10:32 |
| Message-ID: | CAB7nPqSSt31_LDfQDTYXCysFMdB1NgLtjR6XUF5CL6f_O4OGaQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-odbc |
Hi all,
Before beginning my real quest for odbc, please find attached a patch
that cleans up 99% of the code warnings I saw on OSX (and actually
some of them on Windows). All those warnings are caused by incorrect
casts, so fixing them is trivial... But there were quite a lot of
them, I think I fixed 100~200 of them...
Then why 99%? I am still seeing exactly 4 warnings in socket.c caused
by some deprecated functions in openssl for OSX. I'll come back to
that later.
The patch is 160kB, so I had to compress it to bypass the ML restrictions.
Regards,
--
Michael
| Attachment | Content-Type | Size |
|---|---|---|
| 20140306_pgodbc_osx_warnings.tar.gz | application/x-gzip | 39.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Heikki Linnakangas | 2014-03-06 13:55:46 | Re: Elimination of (more or less) all compilation warnings on OSX |
| Previous Message | Heikki Linnakangas | 2014-03-06 11:47:12 | Re: Incorrect return clause in regression test positioned-update causing compilation error |