Re: [RFC PATCH] libxfs: compile with a C++ compiler

Christoph Hellwig
2024-08-28T04:25:52Z

On Tue, Aug 27, 2024 at 04:45:33PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@kernel.org>
>
> Apparently C++ compilers don't like the implicit void* casts that go on
> in the system headers. Compile a dummy program with the C++ compiler to
> make sure this works, so Darrick has /some/ chance of figuring these
> things out before the users do.

I guess if we want to support C++ users of our system headers we'll have
to do something, so ACK.