From: Eli Zaretskii <eliz@gnu.org>
To: Frank P Esposito <fpesposito@gmail.com>
Cc: 14409@debbugs.gnu.org
Subject: bug#14409: emacs 24.3 -- windows
Date: Thu, 16 May 2013 20:37:08 +0300 [thread overview]
Message-ID: <83zjvusu63.fsf@gnu.org> (raw)
In-Reply-To: <CAFqEa-DnAzTTHDfSpt_OPxZ50UcV+7UPEvV49S_p1X=Fd7curA@mail.gmail.com>
[Please keep the bug address on the CC list.]
> Date: Thu, 16 May 2013 10:45:44 -0400
> From: Frank P Esposito <fpesposito@gmail.com>
>
> There is an option for MS C “/P” which will save the pre-processor output
> to a “*.i” file –
> When I open the *.i file, – I think it was actually in the codeset.i file
> – there were lines of expanded macros – so what I included in the email
> probable was not all the expanded code –
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 using
> inline functions if supported by the compiler — as to the error – are the
> later version of MS/C compilers support this level of open parentheses?
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 tedious part
> if trying to figure out the data type of the variables not defined in the
> macro
Why is the data type important?
> – what is the thinking for making loops in the form
>
> do { ...... } while(0)
>
> 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 – I had to set USE_CRT_DLL=0 then the test
> for this in the make file was incorrect (nmake.defs line 119) – 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.
next prev parent reply other threads:[~2013-05-16 17:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-16 2:31 bug#14409: emacs 24.3 -- windows Frank P Esposito
2013-05-16 5:33 ` Eli Zaretskii
[not found] ` <CAFqEa-DnAzTTHDfSpt_OPxZ50UcV+7UPEvV49S_p1X=Fd7curA@mail.gmail.com>
2013-05-16 17:37 ` Eli Zaretskii [this message]
[not found] ` <CAFqEa-Af=1qxv-R73CKVAJteD2mG8GG3zzUGCOxgLPBh6k_zWw@mail.gmail.com>
2013-05-16 18:42 ` Eli Zaretskii
2013-05-31 3:26 ` Frank P Esposito
2017-08-09 23:13 ` npostavs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83zjvusu63.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=14409@debbugs.gnu.org \
--cc=fpesposito@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).