From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14409: emacs 24.3 -- windows Date: Thu, 16 May 2013 20:37:08 +0300 Message-ID: <83zjvusu63.fsf@gnu.org> References: <83vc6j4hgr.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1368725881 20274 80.91.229.3 (16 May 2013 17:38:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 May 2013 17:38:01 +0000 (UTC) Cc: 14409@debbugs.gnu.org To: Frank P Esposito Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 16 19:37:59 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ud27o-0004WL-K0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2013 19:37:56 +0200 Original-Received: from localhost ([::1]:44260 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud27o-0002i5-7a for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 May 2013 13:37:56 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud27k-0002hl-Nm for bug-gnu-emacs@gnu.org; Thu, 16 May 2013 13:37:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ud27j-0005cw-1e for bug-gnu-emacs@gnu.org; Thu, 16 May 2013 13:37:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ud27i-0005cs-V5 for bug-gnu-emacs@gnu.org; Thu, 16 May 2013 13:37:50 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Ud27t-0005J7-Tu for bug-gnu-emacs@gnu.org; Thu, 16 May 2013 13:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 May 2013 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14409 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14409-submit@debbugs.gnu.org id=B14409.136872585220349 (code B ref 14409); Thu, 16 May 2013 17:38:01 +0000 Original-Received: (at 14409) by debbugs.gnu.org; 16 May 2013 17:37:32 +0000 Original-Received: from localhost ([127.0.0.1]:47663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ud27Q-0005IA-D0 for submit@debbugs.gnu.org; Thu, 16 May 2013 13:37:32 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:42649) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ud27L-0005Hi-QP for 14409@debbugs.gnu.org; Thu, 16 May 2013 13:37:31 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MMW00800JGIZ700@a-mtaout21.012.net.il> for 14409@debbugs.gnu.org; Thu, 16 May 2013 20:37:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MMW008GMJLXTR70@a-mtaout21.012.net.il>; Thu, 16 May 2013 20:37:10 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:74334 Archived-At: [Please keep the bug address on the CC list.] > Date: Thu, 16 May 2013 10:45:44 -0400 > From: Frank P Esposito >=20 > There is an option for MS C =E2=80=9C/P=E2=80=9D which will save = the pre-processor output > to a =E2=80=9C*.i=E2=80=9D file =E2=80=93 > When I open the *.i file, =E2=80=93 I think it was actually in the = codeset.i file > =E2=80=93 there were lines of expanded macros =E2=80=93 so what I i= ncluded in the email > probable was not all the expanded code =E2=80=93 I guess you mean charset.i. Anyway, I will need your help with finding out what exactly causes Studio 2003 to fail, as I don't have that installed. Please find out what part of the macro-expanded source causes trouble and post it here. > As noted, Its not clear to me how this would be any faster than usi= ng > inline functions if supported by the compiler =E2=80=94 as to the e= rror =E2=80=93 are the > later version of MS/C compilers support this level of open parenth= eses? Evidently, yes, because a couple of people who regularly build Emacs with newer versions of MSVC didn't complain. > I found a reference to SIZE_MAX which is defined in stdint.h (C99) = and I > see that the stdint.h in the nt section does not have this define. I now added SIZE_MAX to nt/inc/stdint.h. > It is not clear to me the best way to handle the macros. The tedio= us part > if trying to figure out the data type of the variables not defined = in the > macro Why is the data type important? > =E2=80=93 what is the thinking for making loops in the form >=20 > do { ...... } while(0) >=20 > why not just { .... } Because the former can be followed by a semi-colon in any context, like in an if or a while, while the latter will cause compilation errors. > There was an issue with linking =E2=80=93 I had to set USE_CRT_DLL= =3D0 then the test > for this in the make file was incorrect (nmake.defs line 119) = =E2=80=93 I was > missing the $ before the name for the test Please tell the details about this, I don't think I understand completely what was the problem.