Get repository to build with GCC 11

See #594
This commit is contained in:
Justine Tunney 2022-09-13 04:14:20 -07:00
parent 446a1f7c5a
commit 06f9a5b627
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
34 changed files with 115 additions and 51 deletions

View file

@ -46,7 +46,7 @@ void XlatLinuxToTermios(struct termios *, const struct termios_bits *);
void XlatTermiosToLinux(struct termios_bits *, const struct termios *);
void XlatWinsizeToLinux(struct winsize_bits *, const struct winsize *);
void XlatSigsetToLinux(uint8_t[8], const sigset_t *);
void XlatLinuxToSigset(sigset_t *, const uint8_t[]);
void XlatLinuxToSigset(sigset_t *, const uint8_t[8]);
COSMOPOLITAN_C_END_
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */

View file

@ -169,7 +169,7 @@
((eq arg 8) "llvm")
(default default)
((cosmo-intest) "dbg")
(t "")))
(t "fastbuild")))
(defun cosmo--make-suffix (arg)
(cond ((eq arg 9) ".chibicc")

View file

@ -12,13 +12,13 @@ extern long magikarp_latency_;
extern long ycbcr2rgb_latency_;
void Y2Rgb(long yn, long xn, unsigned char[restrict 3][yn][xn], long yys,
long yxs, const unsigned char[restrict yys][yxs], const int[4][4],
long yxs, const unsigned char[restrict yys][yxs], const int[8][4],
const unsigned char[256]);
void YCbCr2Rgb(long yn, long xn, unsigned char[restrict 3][yn][xn], long yys,
long yxs, const unsigned char[restrict yys][yxs], long cys,
long cxs, const unsigned char[restrict cys][cxs],
const unsigned char[restrict cys][cxs], const int[4][4],
const int[3][4], const unsigned char[256]);
const unsigned char[restrict cys][cxs], const int[8][4],
const int[6][4], const unsigned char[256]);
void YCbCrFree(struct YCbCr **);
void YCbCrInit(struct YCbCr **, bool, int, double, const double[3],