Re: Psqlodbc build fails on linux

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Moazzum Ali <moazzum(dot)ali(at)enterprisedb(dot)com>, pgsql-odbc(at)postgresql(dot)org
Subject: Re: Psqlodbc build fails on linux
Date: 2023-09-04 16:07:09
Message-ID: CADK3HHL5kLg77AAes0G16K9Ueuhao+5wd=4=Bjv2sfOaoOWYjg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

On Mon, 4 Sept 2023 at 10:23, Dave Cramer <davecramer(at)postgres(dot)rocks> wrote:

>
>
> On Sun, 3 Sept 2023 at 19:46, Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
>> On Thu, Aug 31, 2023 at 06:28:06AM +0500, Moazzum Ali wrote:
>> > One way to fix the error is to include the following line before
>> > #include "pqexpbuffer.h" in connection.h and statement.h
>> > #include <stdbool.h>
>>
>> Wouldn't it be better to enforce an environment rule in psqlodbc.h
>> instead? PostgreSQL enforces PG_USE_STDBOOL already on Windows, and
>> I am pretty sure that it would be OK to do the same in other *nix
>> places where anybody cares about ODBC.
>>
>
> I'm guessing this is a debian thing as I just built this successfully on a
> redhat (ish) system
>

It pays to read all of the above before trying to replicate. I was building
against 15, not 16
I see the failure now

>
> Dave
>

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Moazzum Ali 2023-09-04 16:27:49 Re: Psqlodbc build fails on linux
Previous Message Dave Cramer 2023-09-04 14:23:31 Re: Psqlodbc build fails on linux