Source: diagnostics 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 kind of error: http://clang.debian.net/status.php?version=3.4&key=UNUSED_FUNCTION Full build log is available here: http://clang.debian.net/logs/2014-01-14/diagnostics_0.3.3-9_unstable_clang.log Thanks, Alexander -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.13-1-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
--- diagnostics-0.3.3/diagnostics/frame/namespace.hpp 2009-04-18 16:21:26.000000000 -0400 +++ diagnostics-0.3.3-my/diagnostics/frame/namespace.hpp 2014-06-17 13:49:15.598589802 -0400 @@ -50,8 +50,8 @@ #endif #ifndef UNNAMED_NAMESPACE_BEGIN -# define UNNAMED_NAMESPACE_BEGIN namespace { void dummy_for_semicolon_do_not_use() -# define UNNAMED_NAMESPACE_END } void dummy_for_semicolon_do_not_use() +# define UNNAMED_NAMESPACE_BEGIN namespace { //void dummy_for_semicolon_do_not_use() +# define UNNAMED_NAMESPACE_END } //void dummy_for_semicolon_do_not_use() #endif /** --- diagnostics-0.3.3/diagnostics/extensions/memory/annotations.cpp 2009-04-18 16:21:24.000000000 -0400 +++ diagnostics-0.3.3-my/diagnostics/extensions/memory/annotations.cpp 2014-06-17 13:50:42.329591702 -0400 @@ -43,7 +43,7 @@ using ::diagnostics::internal::to_string; using ::diagnostics::internal::Logging_Implementation; -UNNAMED_NAMESPACE_BEGIN; +UNNAMED_NAMESPACE_BEGIN char const * block_name(bool const log,bool const check) { @@ -55,7 +55,7 @@ return "MEMORY: Analysis"; } -UNNAMED_NAMESPACE_END; +UNNAMED_NAMESPACE_END DIAGNOSTICS_NAMESPACE_BEGIN; MEMORY_NAMESAPCE_BEGIN; --- diagnostics-0.3.3/diagnostics/unittest/test_system/test_run_result.cpp 2009-04-18 16:21:25.000000000 -0400 +++ diagnostics-0.3.3-my/diagnostics/unittest/test_system/test_run_result.cpp 2014-06-17 13:51:50.803572793 -0400 @@ -43,7 +43,7 @@ #include <iomanip> -UNNAMED_NAMESPACE_BEGIN; +UNNAMED_NAMESPACE_BEGIN void check_levels(::diagnostics::Level_t const build_level, ::diagnostics::Level_t const target_level) @@ -67,7 +67,7 @@ throw Test_System_Exception("Build_Level must greater or equal than the target_level"); } -UNNAMED_NAMESPACE_END; +UNNAMED_NAMESPACE_END DIAGNOSTICS_NAMESPACE_BEGIN; UNITTEST_NAMESPACE_BEGIN;