Re: Generated Headers - Quite the Can of Worms
[email protected] (Henry S. Thompson)
| Newsgroups | gmane.emacs.xemacs.beta |
|---|---|
| Message-ID | <[email protected]> |
Vin Shelton writes:
> HST wrote
>
>> So, what compiler are you using at this point -- some MS compiler, or
>> are we talking mingw here?
>
> This is Visual Studio 6. Building with a newer version of VS will
> require a whole 'nother set of work.
>
> Mingw (either 32 or 64) remains a dream for the future - ideally we
> could cross-compile using one of those compilers. Still dreaming.
>:-)
Ah, OK. I will see if I can remember how to install/run the free VS6
setup (I think there is one???).
>>> After running the make-mswin-unicode.pl script, I get a bunch of
>>> definitions that refer to WINBOOL, which is not a native Windows type.
>>
>> Hmm. I suspect a combination of my bad memory and unfamiliarity with
>> the overall build architecture is to blame, but I didn't think your
>> should have to run that at all, should you?
>
> No, but I had compile difficulties building a Windows native (XP,
> 32-bit) executable with your new intl-auto-encap files, so I decided
> to see if regenerating the intl-auto-encap files made a difference.
Understood.
>> If you did, it should be part of configure, right? I will have to try harder to understand the
>> division of labour.
>
> The Windows native build does not use configure. See nt/config.inc
> and nt/xemacs.mak if you're curious (and you have a strong stomach -
> MS nmake syntax is not for the weak).
Indeed -- been years since I had to use it, but the memory lingers. . .
> In general, we could treat the intl-auto-encap files like configure -
> we check them in, but people who are sufficiently interested should be
> able to regenerate them. Prior to the most recent w32api changes, the
> intl-auto-encap files had not been updated for years.
Understood.
>>> Here is the first such message:
>>>
>>> console-msw.c
>>> C:\Cyg_opt\src\xemacs-21.5-2015-03-26\src\intl-auto-encap-win32.h(105) :
>>> error C2146: syntax error : missing ';' before identifier
>>> 'qxeSHGetNewLinkInfo'
>>
>> Can you send a copy of your intl-auto-encap-win32.h, so I can look at
>> what is different?
>
> Sorry if I misled you, but I don't think it makes any difference.
> Using your intl-auto-encap-win32.h, here is what I see:
>
> ...
> Stop.
[good advice :-]
> Thanks for thinking about this.
You're welcome, of course, and whatever it was you thought you needed
to apologise for, you didn't.
ht
--
Henry S. Thompson, School of Informatics, University of Edinburgh
10 Crichton Street, Edinburgh EH8 9AB, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: [email protected]
URL: http://www.ltg.ed.ac.uk/~ht/
[mail from me _always_ has a .sig like this -- mail without it is forged spam]