]> www.infradead.org Git - users/hch/xfsprogs.git/commit
libxfs: test compiling public headers with a C++ compiler
authorDarrick J. Wong <djwong@kernel.org>
Mon, 21 Oct 2024 00:10:40 +0000 (17:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 31 Oct 2024 22:45:02 +0000 (15:45 -0700)
commit6e1d3517d1089b1670c9661630ce8d69d71de59d
tree5b6ea10fb033392723ff6c75d79c5f3ff2ec0238
parentfb4e1bc0204400e283731376e99a19c5417712dc
libxfs: test compiling public headers with a C++ compiler

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.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Tested-by: Sam James <sam@gentoo.org>
Reviewed-by: Sam James <sam@gentoo.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
configure.ac
include/builddefs.in
libxfs/Makefile
libxfs/ioctl_c_dummy.c [new file with mode: 0644]
libxfs/ioctl_cxx_dummy.cpp [new file with mode: 0644]
m4/package_utilies.m4