http://llvm.org/bugs/show_bug.cgi?id=11441
Bug #: 11441
Summary: 'clang -cc1 -analyzer-viz-egraph-graphviz' cannot find
<stdio.h>
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Static Analyzer
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Attempt to invoke analyzer's graph visualization with standard K&R 'hello
world' program as:
clang -cc1 -analyzer-viz-egraph-graphviz hello.c
produces the following error:
hello.c:1:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
^
1 error generated.
Removing the '#include' silences the error, although clang then complains about
the resulting implicit declaration of 'printf'
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs