Bug#560691: fails to detect noreturn attribute
Michal Čihař
nijel at debian.org
Fri Dec 11 13:24:12 UTC 2009
Package: clang
Version: 2.6-1
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi
I'm attaching simple test case which fails to compile with
- -Wmissing-noreturn -Werror even though the attribute is there. It fails
with:
/tmp/test.c:4:1: error: function could be attribute 'noreturn'
[-Wmissing-noreturn]
{
^
1 diagnostic generated.
- --
Michal Čihař | http://cihar.com | http://blog.cihar.com
- -- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.31.5-0.1-default (SMP w/2 CPU cores)
Locale: LANG=cs_CZ.UTF-8, LC_CTYPE=cs_CZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages clang depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libffi5 3.0.9~rc3-1 Foreign Function Interface library
ii libgcc1 1:4.4.2-4 GCC support library
ii libstdc++6 4.4.2-4 The GNU Standard C++ Library v3
Versions of packages clang recommends:
ii llvm-dev 2.6-4 Low-Level Virtual Machine (LLVM),
clang suggests no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAksiR/wACgkQ3DVS6DbnVgTt5ACgk0XHfuSKjhdPuz9ADu8opwyD
MM0AoNVKZbW/qVjQW9lGomEc/ZpoVxEy
=a7jw
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-c
Size: 185 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20091211/27387fc3/attachment.bin>
More information about the Pkg-llvm-team
mailing list