<p></p>
<p>Oooh, neat!  Which compiler is figuring that out now?  It is obviously a warning-as-error, so it is suppressed easily enough on the command line (-Wno-error=type-limits).</p>
<p>That is a part of RapidJSON, so I don't know if it is something that can be fixed here.  As far as what THEY can do, I'm not sure what there is, they use that test to cover multi-byte encodings (where the source-character type isn't a 1 byte type), and it gets caught in cases where their source encoding character is a 'char'.  Either way, I'd suspect it needs to be fixed in rapidJSON first.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you authored the thread.<br />Reply to this email directly, <a href="https://github.com/USCiLab/cereal/issues/664#issuecomment-741867215">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ACICUA6QAVNUPVSPYFWG34DST6NC5ANCNFSM4UTVV6FA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ACICUA5DUDS5XAUJDLMMWSDST6NC5A5CNFSM4UTVV6FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFQ375TY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/USCiLab/cereal/issues/664#issuecomment-741867215",
"url": "https://github.com/USCiLab/cereal/issues/664#issuecomment-741867215",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>