Your message dated Mon, 09 Jun 2008 20:56:44 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Closing #306785
has caused the Debian Bug report #306785,
regarding kdevelop3: incorrectly parses macros in a class definition
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
306785: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=306785
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kdevelop3
Version: 4:3.2.0-1
Severity: normal

I have the following macros defined:

#define DU_CHECK_INVARIANTS() this->_DU_CHECK_INVARIANTS()

#define DU_INVARIANT_BEGIN virtual void _DU_CHECK_INVARIANTS() { \
        parent::_DU_CHECK_INVARIANTS(); \

#define DU_INVARIANT(invExpr) { if (!(invExpr)) { throw 
InvariantExcept(#invExpr, __FILE__, __LINE__) }

#define DU_INVARIANT_END }


But when adding these to a class, like this:

class MyClass {
public:
        DU_INVARIANT_BEGIN
                DU_INVARIANT(z != 10);
        DU_INVARIANT_END
}

Instanciating the class and trying to use code completion leads to 
DU_INVARIANT() being presented as a
possible completion.  To attempt an ASCII representation:

MyClass y;
y.+-------------------+
  | DU_INVARIANT( z ) |
  +-------------------+

Basically, kdevelop doesn't seem to parse macros, and therefore makes silly 
assumptions sometimes.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.9-powerpc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kdevelop3 depends on:
ii  autoconf                 2.59a-3         automatic configure script builder
ii  automake1.4 [automaken]  1:1.4-p6-9      A tool for generating GNU Standard
ii  automake1.6 [automaken]  1.6.3-12        A tool for generating GNU Standard
ii  automake1.7 [automaken]  1.7.9-7         A tool for generating GNU Standard
ii  automake1.8 [automaken]  1.8.5-3         A tool for generating GNU Standard
ii  automake1.9 [automaken]  1.9.5-1         A tool for generating GNU Standard
ii  kdebase-bin              4:3.4.0-0pre1   KDE Base (binaries)
ii  kdelibs4                 4:3.4.0-0pre1   KDE core libraries
ii  kdevelop3-data           4:3.2.0-1       An IDE for Unix/X11 - data
ii  kdevelop3-plugins        4:3.2.0-1       An IDE for Unix/X11 - development 
ii  libart-2.0-2             2.3.17-1        Library of functions for 2D graphi
ii  libaudio2                1.7-2           The Network Audio System (NAS). (s
ii  libc6                    2.3.2.ds1-21    GNU C Library: Shared libraries an
ii  libfam0c102              2.7.0-6         client library to control the FAM 
ii  libfontconfig1           2.3.1-2         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libgcc1                  1:4.0-0pre9     GCC support library
ii  libice6                  4.3.0.dfsg.1-12 Inter-Client Exchange library
ii  libidn11                 0.5.13-1.0      GNU libidn library, implementation
ii  libjpeg62                6b-10           The Independent JPEG Group's JPEG 
ii  libpcre3                 5.0-1           Perl 5 Compatible Regular Expressi
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libqt3c102-mt            3:3.3.4-3       Qt GUI Library (Threaded runtime v
ii  libsm6                   4.3.0.dfsg.1-12 X Window System Session Management
ii  libstdc++5               1:3.3.5-12      The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-12 X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 4.3.0.dfsg.1-12 X Window System miscellaneous exte
ii  libxft2                  2.1.7-1         FreeType-based font drawing librar
ii  libxrandr2               4.3.0.dfsg.1-12 X Window System Resize, Rotate and
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  libxt6                   4.3.0.dfsg.1-12 X Toolkit Intrinsics
ii  xlibs                    4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-4       compression library - runtime

-- debconf information excluded


--- End Message ---
--- Begin Message ---
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have been waiting for input on bug #306785 for the past 6 months and
received no response. I am closing this bug, please feel free to reopen
it if it can indeed be reproduced on the current KDevelop release.

Cheers,
Jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhNfOwACgkQ4mJJZqJp2SeAzgCfYRjwooZ7NUHKh7l+wj37/q67
9fgAni5RqmMpT609ynG74loSXujgg3de
=XIcM
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to