Available Packages Name : clang Arch : x86_64 Version : 2.6 Release : 0.5.pre1.fc12 Size : 4.7 M Repo : fedora Summary : A C language family frontend for LLVM URL : http://llvm.org/ License : NCSA Description: clang: noun : 1. A loud, resonant, metallic sound. : 2. The strident call of a crane or goose. : 3. C-language family front-end toolkit. : : The goal of the Clang project is to create a new C, C++, Objective : C and Objective C++ front-end for the LLVM compiler. Its tools are : built as libraries and designed to be loosely-coupled and : extendable. |
BUGS
Clang currently does not have C++ support, and this manual page is
incomplete. To report bugs, please visit <http://llvm.org/bugs/>.
Most bug reports should include preprocessed source files (use the -E
option) and the full output of the compiler, along with information to
reproduce.
|
$ clang hello_clang.C -o hello_clang
In file included from hello_clang.C:1:
/usr/include/stdio.h:432:12: error: exception specification in declaration does
not match previous declaration
extern int __REDIRECT (sscanf, (__const char *__restrict __s,
^
/usr/include/stdio.h:432:24: note: instantiated from:
extern int __REDIRECT (sscanf, (__const char *__restrict __s,
^
/usr/include/stdio.h:417:12: note: previous declaration is here
extern int sscanf (__const char *__restrict __s,
^
/usr/include/stdio.h:434:27: error: expected ';' at end of declaration
__isoc99_sscanf) __THROW;
^
/usr/include/sys/cdefs.h:51:20: note: instantiated from:
# define __THROW throw ()
^
/usr/include/stdio.h:434:27: error: expected unqualified-id
/usr/include/stdio.h:486:12: error: exception specification in declaration does
not match previous declaration
extern int __REDIRECT (vsscanf,
^
/usr/include/stdio.h:486:24: note: instantiated from:
extern int __REDIRECT (vsscanf,
^
/usr/include/stdio.h:467:12: note: previous declaration is here
extern int vsscanf (__const char *__restrict __s,
^
/usr/include/stdio.h:490:6: error: expected ';' at end of declaration
__THROW __attribute__ ((__format__ (__scanf__, 2, 0)));
^
/usr/include/sys/cdefs.h:51:20: note: instantiated from:
# define __THROW throw ()
^
/usr/include/stdio.h:490:6: error: expected unqualified-id
8 diagnostics generated.
|
clang -v clang version 1.0 (https://llvm.org/svn/llvm-project/cfe/branches/release_26 ) Target: x86_64-unknown-linux-gnu Thread model: posix |
rpm -q clang clang-2.6-0.5.pre1.fc12.x86_64 |