[cfe-dev] Clang crash in HTMLDiagnostics

Kay Röpke kay at mysql.com
Fri Aug 8 04:15:15 PDT 2008


On Aug 7, 2008, at 7:52 PM, Ted Kremenek wrote:

> On Aug 7, 2008, at 10:18 AM, Nico Weber wrote:
>>
>> It seems this (or at least something related) happens with any input
>> file that produces a warning:
>>
>> Macintosh-3:clang nico$ cat test.c
>> int main() {
>>  char b[10] = "";
>>  printf(b);
>> }
>
> I fixed the problem for Nico's test case:
>
>  http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080804/006855.html
>
> The problem was that when using --html-diags we didn't have a  
> Preprocessor available when constructing HTMLDiagnosticClient, which  
> led to all sorts of badness.
>
> Kay: can you confirm that this fixes the issue for you?

Ted, confirmed.
Thank you very much for the quick response!

cheers,
-k

-- 
Kay Roepke
Software Engineer, MySQL Enterprise Tools

Sun Microsystems GmbH    Sonnenallee 1, DE-85551 Kirchheim-Heimstetten
Geschaeftsfuehrer: Thomas Schroeder, Wolfang Engels, Dr. Roland Boemer
Vorsitz d. Aufs.rat.: Martin Haering                    HRB MUC 161028




More information about the cfe-dev mailing list