http://llvm.org/bugs/show_bug.cgi?id=9272
Summary: Clang shouldn't complain that C file is supplied in
C++ mode when dependencies are parsed
Product: clang
Version: trunk
Platform: Other
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
When I run command like this:
clang++ -M file1.c file2.C
I get this warning:
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is
deprecated
Such warning should be disabled in dependency parsing mode (-M). This is
because such operation doesn't depend on C/C++ differences and its very
convenient to make just one call in a mixed C/C++ project instead of calling it
once for all C files and once for all C++ files.
rev.126022
--
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