|
| From: | Jason Rumney |
| Subject: | Re: Emacs 23.0.92 pretest |
| Date: | Mon, 06 Apr 2009 22:54:08 +0800 |
| User-agent: | Thunderbird 2.0.0.21 (Windows/20090302) |
David Robinow wrote:
Fails on MSVC:
frame.c
frame.c(3283) : warning C4047: '=' : 'Lisp_Object' differs in levels
of indirection from 'Window'
frame.c(3430) : error C2275: 'Lisp_Object' : illegal use of this type
as an expression
c:\home\emacs-23.0.92\src\lisp.h(315) : see declaration of 'Lisp_Object'
The problem was a C99 style mid-block variable declaration. Obviously gcc accepts this, or it would have been picked up earlier, but I'm surprised not to have heard about it from others using a pre-C99 compiler.
| [Prev in Thread] | Current Thread | [Next in Thread] |