Re: [PATCH] disas/libvixl: Protect C system header for C++ compiler

2021-05-16 Thread Philippe Mathieu-Daudé
On 5/16/21 2:46 PM, Thomas Huth wrote: > On 15/05/2021 20.35, Philippe Mathieu-Daudé wrote: >> When selecting an ARM target on Debian unstable, we get: >> >>    Compiling C++ object libcommon.fa.p/disas_libvixl_vixl_utils.cc.o >>    FAILED: libcommon.fa.p/disas_libvixl_vixl_utils.cc.o >>    c++ -Il

Re: [PATCH] disas/libvixl: Protect C system header for C++ compiler

2021-05-16 Thread Philippe Mathieu-Daudé
Forgot to tag as RFC. Cc'ing mjt to have feedback from Debian packaging. On 5/15/21 8:35 PM, Philippe Mathieu-Daudé wrote: > When selecting an ARM target on Debian unstable, we get: > > Compiling C++ object libcommon.fa.p/disas_libvixl_vixl_utils.cc.o > FAILED: libcommon.fa.p/disas_libvixl_v

Re: [PATCH] disas/libvixl: Protect C system header for C++ compiler

2021-05-16 Thread Thomas Huth
On 15/05/2021 20.35, Philippe Mathieu-Daudé wrote: When selecting an ARM target on Debian unstable, we get: Compiling C++ object libcommon.fa.p/disas_libvixl_vixl_utils.cc.o FAILED: libcommon.fa.p/disas_libvixl_vixl_utils.cc.o c++ -Ilibcommon.fa.p -I. -I.. [...] -o libcommon.fa.p/disas

[PATCH] disas/libvixl: Protect C system header for C++ compiler

2021-05-15 Thread Philippe Mathieu-Daudé
When selecting an ARM target on Debian unstable, we get: Compiling C++ object libcommon.fa.p/disas_libvixl_vixl_utils.cc.o FAILED: libcommon.fa.p/disas_libvixl_vixl_utils.cc.o c++ -Ilibcommon.fa.p -I. -I.. [...] -o libcommon.fa.p/disas_libvixl_vixl_utils.cc.o -c ../disas/libvixl/vixl/utils.