From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Marchand Newsgroups: gmane.emacs.bugs Subject: bug#6231: 23.2; ede-cpp-root-projects spp table is not taken into account by semantic in cedet Date: Mon, 24 May 2010 13:53:18 +0200 Message-ID: <20100524115318.GC6479@loria.fr> References: <20100520140330.GD13702@loria.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" X-Trace: dough.gmane.org 1274702251 31970 80.91.229.12 (24 May 2010 11:57:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 24 May 2010 11:57:31 +0000 (UTC) To: 6231@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 24 13:57:29 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OGWHd-0004xo-Uq for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 May 2010 13:57:26 +0200 Original-Received: from localhost ([127.0.0.1]:46443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGWHd-0001WX-75 for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 May 2010 07:57:25 -0400 Original-Received: from [140.186.70.92] (port=41410 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGWHT-0001TL-NT for bug-gnu-emacs@gnu.org; Mon, 24 May 2010 07:57:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGWHR-0008U3-O1 for bug-gnu-emacs@gnu.org; Mon, 24 May 2010 07:57:15 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53740) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGWHR-0008Tx-Lj for bug-gnu-emacs@gnu.org; Mon, 24 May 2010 07:57:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OGWCP-0000bL-Pu; Mon, 24 May 2010 07:52:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20100520140330.GD13702@loria.fr> Resent-From: Jonathan Marchand Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 May 2010 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6231 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6231-submit@debbugs.gnu.org id=B6231.12747019132305 (code B ref 6231); Mon, 24 May 2010 11:52:01 +0000 Original-Received: (at 6231) by debbugs.gnu.org; 24 May 2010 11:51:53 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGWCG-0000b8-OD for submit@debbugs.gnu.org; Mon, 24 May 2010 07:51:53 -0400 Original-Received: from mail-wy0-f172.google.com ([74.125.82.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGWCE-0000b3-S7 for 6231@debbugs.gnu.org; Mon, 24 May 2010 07:51:51 -0400 Original-Received: by wye20 with SMTP id 20so444346wye.3 for <6231@debbugs.gnu.org>; Mon, 24 May 2010 04:51:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:mime-version:content-type:content-disposition:x-face :user-agent; bh=HgbHhZk9YHwFOKo6eFVRQILo73fbTCxYvrG86MIY4F0=; b=WmCH76nRQT4DuxRgOmi9UPO0sdgqKi3712zPUkybbtXZlRkn+cVrWXANOHZT2oM8Zi D8BNRlHf99W1MdA9vZv6/Uawgua47tc+rVY/p62E+u0A5tg470U6hWRp7IJYESteLs3d UCBrvK8nm/GgIurdE0rO1IDeXGerj9JY+MllQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:x-face:user-agent; b=ZYi9oYTKy5dltFJRUkOVzT3tiniD3Xpm2mNQ6w+W3haDC+kv6w5UijFzxyHkLvkfZt DMNXPvkJmI5s4Pf2Fa4Xq8wnkthTMeNqXFQUlUeupB+47u2RBx7MJfOXsMHLEQbZERXJ 5LRCYZ+QWjaDlnpCxURpFCjCLXhnuAMBuwSlc= Original-Received: by 10.227.142.78 with SMTP id p14mr5333827wbu.77.1274701903732; Mon, 24 May 2010 04:51:43 -0700 (PDT) Original-Received: from loria.fr (tarski.loria.fr [152.81.12.16]) by mx.google.com with ESMTPS id z33sm31100436wbd.13.2010.05.24.04.51.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 24 May 2010 04:51:42 -0700 (PDT) Content-Disposition: inline X-Face: $E+9I)Z6dz:'fsF<%3HN; Aay8\o ^e1`Z0Wea`jUjo2z0v,+VB9NJX@^tk^CKp*r{qgNl)-; \ILRfs7_rwa}WP5/PcDJ User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 24 May 2010 07:52:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37223 Archived-At: --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ok, I have found the other bug that prevents ede-cpp-root to use the project preprocessor symbols. In fact, the emacs23.2 version of cedet use the symbols defined in :spp-table to parse the include files specified in :include, (with the bugfix I gave earlier) but not for :system-include-path. I was not sure it was a bug or a feature, but by checkouting the CVS=E3=80= =80 version of cedet, I could figure the intended behavior was to use the symbols for both, so this is a bug. The problem is the variable semantic-lex-spp-project-macro-symbol-obarray which is correctly set when parsing a file within the project, but set to nil when parsing an external include. This time I couldn't figure where in the code the problem is, so I can't report a way to solve this. I hope some people =66rom the dev team can fix this. Regards, Jonathan Marchand --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkv6aK4ACgkQuiLBEP1tB4pHXwCeNYDPgGLP4LZmQN/FuBCX6pgn XrIAnjhp0CdEZ0QnhYUjFgVYgc/SfIj6 =Zhd+ -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6--