[cfe-dev] Attempt to fix incorrect diagnoses of diag::err_template_arg_too_large

Eli Friedman eli.friedman at gmail.com
Wed Dec 23 09:53:05 PST 2009


On Wed, Dec 23, 2009 at 4:57 AM, Maurice Gittens
<mainmanmauricio at gmail.com> wrote:
> Hi,
>
> without the following patch, clang incorrectly claims
> that, for example, -128 does not fit in a signed char
> when used as a template argument.
>
> I found this when trying to use clang++ to parse a boost header
> file.
>
> I hope that you find it useful.

Interesting bug report, but the patch doesn't look right; I'll take a look.

-Eli



More information about the cfe-dev mailing list