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

Bug#171908: marked as done (xutils: [makedepend] dependency lists truncated due to preprocessor barf in /usr/lib/assert.h)



Your message dated Sun, 18 Feb 2007 17:23:36 +0100
with message-id <45D87D88.7020403@ens-lyon.org>
and subject line Bug#171908: xutils: [makedepend] dependency lists truncated due to preprocessor barf in /usr/lib/assert.h
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xutils
Version: 4.2.1-4
Severity: normal

When using makedepend on a source file containing an inclusion of
assert.h, the following is reported, and the dependency list gets
truncated:

"/usr/include/assert.h":104:  defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
                                                                  ^--- expecting :

I usually deal with this by patching /usr/include/assert.h with the
following patch, which is equivalent to the functionality that
makedepend can't grok:

--- assert.h.orig	Fri Oct 13 11:04:54 2000
+++ assert.h	Fri Oct 13 11:02:28 2000
@@ -94,7 +94,11 @@
    This is broken in G++ before version 2.6.
    C9x has a similar variable called __func__, but prefer the GCC one since
    it demangles C++ function names.  */
-# if defined __cplusplus ? __GNUC_PREREQ (2, 6) : __GNUC_PREREQ (2, 4)
+# if defined __cplusplus
+#  if __GNUC_PREREQ (2, 6)
+#   define __ASSERT_FUNCTION	__PRETTY_FUNCTION__
+#  endif
+# elif __GNUC_PREREQ (2, 4)
 #   define __ASSERT_FUNCTION	__PRETTY_FUNCTION__
 # else
 #  if defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L


-- System Information
Debian Release: testing/unstable
Kernel Version: Linux lapdog 2.4.19 #1 Fri Oct 25 12:48:10 CEST 2002 i686 unknown unknown GNU/Linux

Versions of the packages xutils depends on:
ii  libc6          2.3.1-5        GNU C Library: Shared libraries and Timezone
ii  libncurses5    5.3.20021109-2 Shared libraries for terminal handling
ii  xfree86-common 4.2.1-4        X Window System (XFree86) infrastructure
ii  zlib1g         1.1.4-8        compression library - runtime


--- End Message ---
--- Begin Message ---
Closing since including assert.h does not cause any warning in Etch. I
don't know which one of makedepend or libc6-dev got fixed.

Brice


--- End Message ---

Reply to: