help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[h-e-w] error in print.c(CVS version)


From: Goodwu
Subject: [h-e-w] error in print.c(CVS version)
Date: Tue, 25 Nov 2003 11:28:41 +0800

gcc -I. -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0400 -D_X86_=1 -c -g -mno-cygwin
-mcpu=i686 -O2  -Di386 -D_CRTAPI1=_cdecl  -Ic:/vc_devel/include -Demacs=1 -DWIND
OWSNT -DDOS_NT -DHAVE_CONFIG_H -I../nt/inc -D_UCHAR_T -DHAVE_NTGUI=1 -DUSE_CRT_D
LL=1 -o oo-spd/i386/print.o print.c
print.c: In function `Fredirect_debugging_output':
print.c:928: invalid lvalue in assignment
print.c:935: invalid lvalue in assignment
print.c:938: invalid lvalue in assignment
mingw32-make[1]: *** [oo-spd/i386/print.o] Error 1
mingw32-make[1]: Leaving directory `D:/emacs_src/src'
mingw32-make: *** [all-other-dirs-gmake] Error 2


D:\emacs_src\nt>gcc --version
gcc (GCC) 3.2.3 (mingw special 20030504-1)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

In stdio.h:
#ifndef __DECLSPEC_SUPPORTED

extern FILE (*_imp___iob)[];    /* A pointer to an array of FILE */

#define _iob    (*_imp___iob)   /* An array of FILE */

#else /* __DECLSPEC_SUPPORTED */

__MINGW_IMPORT FILE _iob[];     /* An array of FILE imported from DLL. */

#endif /* __DECLSPEC_SUPPORTED */

#define stdin   (&_iob[STDIN_FILENO])
#define stdout  (&_iob[STDOUT_FILENO])
#define stderr  (&_iob[STDERR_FILENO])

So, stderr shouldn't be left value here.
Is there any fix?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]