Bug#762354: libc++: Warning in use_libcxxabi patch

Marc Glisse marc.glisse at normalesup.org
Sun Sep 21 13:38:47 UTC 2014


Package: libc++
Version: 3.5-1
Severity: normal

Dear Maintainer,

libcxx-use_libcxxabi.patch contains:

-#ifdef __APPLE__
+#ifdef __APPLE__ || LIBCXXABI

which seems wrong. Did you mean:

#if defined __APPLE__ || LIBCXXABI

or maybe:

#if defined __APPLE__ || defined LIBCXXABI

? Currently, clang warns:

../src/new.cpp:20:18: warning: extra tokens at end of #ifdef directive

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
armhf
powerpc
ppc64el
arm64

Kernel: Linux 3.16-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the Pkg-llvm-team mailing list