Has anyone actually built 21.5.29 on Windows? MSVC (at least v7.1,
which I've been using for our builds) seems to follow the C89 rule
which requires all variable declarations to be at the top of the
block. As a result, the build fails with this error:
C:\tmp\xemacs\src\objects-msw.c(2082) : error C2275: 'HFONT' : illegal use of
this type as an expression
because the declaration of 'hfont' is now preceded by non-declaration
code. Looks like this was introduced here:
http://thread.gmane.org/gmane.emacs.xemacs.beta/28907/focus=29165
The attached patch fixes it. I'm surprised nobody else has seen this,
unless there's some MSVC setting I'm missing...
--
Ron Isaacson
Morgan Stanley
ron.isaacson(a)morganstanley.com / (212) 762-1051
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta