Source: texmacs Severity: minor Tags: patch User: pkg-llvm-t...@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=WRONG_DEFAULT_DECLARATION Full build log is available here: http://clang.debian.net/logs/2014-06-16/texmacs_1.0.7.18-1_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 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
--- ./src/Kernel/Types/tree.hpp 2013-02-13 21:47:47.000000000 +0400 +++ ../texmacs-1.0.7.18-my/./src/Kernel/Types/tree.hpp 2014-07-29 00:54:20.688006689 +0400 @@ -27,6 +27,8 @@ class blackbox; tree copy (tree t); +void print_tree (tree t, int tab=0); + class tree { tree_rep* rep; // can be atomic or compound or generic inline tree (tree_rep* rep2); @@ -84,7 +86,7 @@ friend tree& operator << (tree& t, array<tree> a); friend tm_ostream& operator << (tm_ostream& out, tree t); friend tree operator * (tree t1, tree t2); - friend void print_tree (tree t, int tab=0); + friend void print_tree (tree t, int tab); friend list<tree> as_trees (list<pointer> l); friend class tree_pointer_rep; friend class tree_position_rep; --- ./src/Typeset/boxes.hpp 2013-02-13 21:48:02.000000000 +0400 +++ ../texmacs-1.0.7.18-my/./src/Typeset/boxes.hpp 2014-07-29 00:55:07.907082181 +0400 @@ -114,6 +114,8 @@ friend inline int N (box b); }; +void make_eps (url dest, box b, int dpi= 600); + class box_rep: public abstract_struct { private: SI x0, y0; // offset w.r.t. parent box @@ -250,7 +252,7 @@ friend struct lazy_paragraph_rep; friend class phrase_box_rep; friend class remember_box_rep; - friend void make_eps (url dest, box b, int dpi= 600); + friend void make_eps (url dest, box b, int dpi); }; ABSTRACT_NULL_CODE(box);