Header checking failures on LLVM-less machines - Mailing list pgsql-hackers

From Tom Lane
Subject Header checking failures on LLVM-less machines
Date
Msg-id 19808.1548692361@sss.pgh.pa.us
Whole thread Raw
Responses Re: Header checking failures on LLVM-less machines  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Since the LLVM stuff went in, src/tools/pginclude/cpluspluscheck
fails on my main devel machine, because

In file included from /tmp/cpluspluscheck.jobsM6/test.cpp:3:
./src/include/jit/llvmjit_emit.h:13:25: error: llvm-c/Core.h: No such file or directory

and then there's a bunch of ensuing spewage due to missing typedefs
etc.  llvmjit.h has the same problem plus this additional pointless
aggravation:

In file included from /tmp/cpluspluscheck.jobsM6/test.cpp:3:
./src/include/jit/llvmjit.h:15:2: error: #error "llvmjit.h should only be included by code dealing with llvm"

I propose that we should fix this by making the whole bodies of those
two headers be #ifdef USE_LLVM.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: ATTACH/DETACH PARTITION CONCURRENTLY
Next
From: Fabrízio de Royes Mello
Date:
Subject: Re: pg_upgrade: Pass -j down to vacuumdb