Windows native build failure

Vin Shelton acs
Mon Nov 6 22:54:53 EST 2006


On 11/6/06, Aidan Kehoe <kehoea at parhasard.net> wrote:
>
>  Ar an s?i? l? de m? na Samhain, scr?obh Vin Shelton:
>
>  > Latest sources fail to build with mule under 21.5.  Aidan - were you
>  > planning to get that free MS compiler?
>
> I have the free MS compiler, I just didn't happen to be at work on a Windows
> box over the weekend :-) . GCC triggers a warning on that problem; it's not
> Windows-specific. I'll commit this this evening:
>
> --- objects-msw.c~      2006-11-06 17:11:50.061331200 +0100
> +++ objects-msw.c       2006-11-06 17:16:15.451956200 +0100
> @@ -2167,7 +2167,7 @@
>                                      const Ibyte *nonreloc,
>                                      Lisp_Object reloc,
>                                      Bytecount offset, Bytecount length,
> -                                    int stage)
> +                                    enum font_specifier_matchspec_stages stage)
>  {
>    return stage ?
>       mswindows_font_spec_matches_charset_stage_2 (d, charset, nonreloc,

One down - one to go.

I guess qxestrcmp is called for:

mule-charset.c
e:\cygwin\usr\local\src\xemacs-21.5-2006-11-06\src\mule-charset.c(558)
: error C2664: 'strcmp' : cannot convert parameter 1 from 'unsigned
char *' to 'const char *'
        Types pointed to are unrelated; conversion requires
reinterpret_cast, C-style cast or function-style cast
NMAKE: fatal error U1077: 'cl' : return code '0x2'
Stop.

Aidan, next time please be a little more careful and don't rush to
check things in.  It's better to avoid these gotchas in the first
place.

Thank you,
  Vin

-- 
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506



More information about the XEmacs-Beta mailing list