[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#753434: FTBFS with clang instead of gcc



Source: liblouisxml
Severity: minor
Tags: patch
User: pkg-llvm-team@lists.alioth.debian.org
Usertags: clang-ftbfs

Hello,

Using the rebuild infrastructure, your package fails to build with clang 
(instead of gcc).

We detected this kinf of error:
http://clang.debian.net/status.php?version=3.4.2&key=CONFLICTING_TYPE

Full build log is available here:
http://clang.debian.net/logs/2014-06-16/liblouisxml_2.4.0-5_unstable_clang.log

Thanks,
Alexander

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- liblouisxml-2.4.0/liblouisxml/transcriber.c	2011-05-11 16:12:14.000000000 +0400
+++ liblouisxml-2.4.0-my/liblouisxml/transcriber.c	2014-07-02 00:40:45.591448361 +0400
@@ -78,12 +78,6 @@
 static int insertCharacters (char *chars, int length);
 
 void
-widestrcpy(widechar* to, const widechar* from)
-{
-  widecharcpy(to, from, -1);
-}
-
-void
 widecharcpy(widechar* to, const widechar* from, int length)
 {
   int k;
@@ -101,6 +95,12 @@
 }
 
 void
+widestrcpy(widechar* to, const widechar* from)
+{
+  widecharcpy(to, from, -1);
+}
+
+void
 unsignedcharcpy(char* to, const char* from, int length)
 {
   int k;

Reply to: