fixed a 128bit integer issue with va_arg
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
hyung-hwan 2023-11-17 16:56:05 +09:00
parent 01c0636206
commit 3d85965b98

View File

@ -1244,7 +1244,7 @@ static int fmt_outv (hcl_fmtout_t* fmtout, va_list ap)
sign = 0; sign = 0;
if (lm_flag & LF_J) if (lm_flag & LF_J)
{ {
#if 0 && defined(__GNUC__) && \ #if 1 && !defined(__clang__) && defined(__GNUC__) && \
(HCL_SIZEOF_UINTMAX_T > HCL_SIZEOF_OOW_T) && \ (HCL_SIZEOF_UINTMAX_T > HCL_SIZEOF_OOW_T) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \ (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG) (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG)
@ -1288,7 +1288,7 @@ static int fmt_outv (hcl_fmtout_t* fmtout, va_list ap)
handle_sign: handle_sign:
if (lm_flag & LF_J) if (lm_flag & LF_J)
{ {
#if 0 && defined(__GNUC__) && \ #if 1 && !defined(__clang__) && defined(__GNUC__) && \
(HCL_SIZEOF_INTMAX_T > HCL_SIZEOF_OOI_T) && \ (HCL_SIZEOF_INTMAX_T > HCL_SIZEOF_OOI_T) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \ (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG_LONG) && \
(HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG) (HCL_SIZEOF_UINTMAX_T != HCL_SIZEOF_LONG)