On 02/06/2020 15:13, Joseph Myers wrote: > On Tue, 2 Jun 2020, Vineet Gupta via Libc-alpha wrote: > >> Thi s approach seems to trip math/check-installed-headers.out >> >> >> :::: -std=c89 >> In file included from ../include/fpu_control.h:2, >> from /tmp/cih_test_Nknxdp.c:8: >> ../sysdeps/arc/fpu_control.h:82:14: error: expected ';' before 'unsigned' >> 82 | static inline unsigned int arc_fpu_getcw(void) >> >> >> Any tips ? > > Installed headers have to use __inline instead of inline to work in C90 > mode. > Do we need to export _FPU_{GET,SET}CW macros? Otherwise we remove it and move the fp hardware control register to an internal definition? _______________________________________________ linux-snps-arc mailing list linux-snps-arc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-snps-arc
- [PATCH v6 02/13] ARC: startup and dynamic linking code Vineet Gupta
- [PATCH v6 09/13] ARC: Linux Startup and Dynamic Loading Vineet Gupta
- [PATCH v6 05/13] ARC: math soft float support Vineet Gupta
- [PATCH v6 06/13] ARC: hardware floating point support Vineet Gupta
- Re: [PATCH v6 06/13] ARC: hardware floating point ... Adhemerval Zanella
- Re: [PATCH v6 06/13] ARC: hardware floating po... Vineet Gupta
- Re: [PATCH v6 06/13] ARC: hardware floatin... Vineet Gupta
- Re: [PATCH v6 06/13] ARC: hardware flo... Joseph Myers
- Re: static inline math functions (was ... Joseph Myers
- Re: static inline math functions ... Adhemerval Zanella
- Re: [PATCH v6 06/13] ARC: hardware flo... Vineet Gupta
- Re: [PATCH v6 06/13] ARC: hardwar... Adhemerval Zanella
- Re: [PATCH v6 06/13] ARC: hardware floatin... Joseph Myers
- [PATCH v6 01/13] ARC: ABI Implementation Vineet Gupta
- Re: [PATCH v6 01/13] ARC: ABI Implementation Vineet Gupta
- Re: [PATCH v6 01/13] ARC: ABI Implementation Adhemerval Zanella
- Re: [PATCH v6 01/13] ARC: ABI Implementation Vineet Gupta
- Re: [PATCH v6 01/13] ARC: ABI Implementation Vineet Gupta
- [PATCH v6 12/13] build-many-glibcs.py: Enable ARC build... Vineet Gupta
- Re: [PATCH v6 00/13] glibc port to ARC processors Vineet Gupta