jed-users mailing list

[2014 Date Index] [2014 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [Jed-users-l] compile problem on windows 7


Dear John,

After I made the following change in slang.h :

   in line 1439-1441 and following in slang.h
// does not work #  ifdef _WINDOWS_
#if defined(WIN32) || defined(__WIN32__)
typedef void *HANDLE;
SL_EXTERN HANDLE SLw32_Hstdin;
#  endif

I could successfully compile jed and wjed on my windows7 system.
Apparently _WINDOWS_ is not set as expected, __WIN32__ certainly is.

Thank you !
Thei.

-------=-------=-------=-------=-------=-------=-------=-------=-------




On Feb 3, 2014, at 05:51 , jed@xxxxxxxxxxx wrote:

> Thei Wijnen <t.wijnen@xxxxxxxxx> wrote:
>> gcc -c -DWIN32 -W -Wall -O2 -fno-strength-reduce -DJED -I../../slang/src 
>> -o gw32objs/sysdep.o  ./sysdep.c
>> In file included from ./sysdep.c:110:0:
>> ./win32.c: In function 'init_tty':
>> ./win32.c:106:22: error: 'SLw32_Hstdin' undeclared (first use in this 
>> function)
> 
> The declaration for SLw32_Hstdin is in slang.h.  It looks like
> _WINDOWS_ or __WIN32__ are not getting defined.   As I understand it,
> _WINDOWS_ gets defined when windows.h gets included.  Perhaps your
> version of mingw32 does not define _WINDOWS_.
> 
> I hope this information will help you better isolate the problem.
> Thanks,
> --John
> _______________________________________________
> Jed-users-l mailing list
> Jed-users-l@xxxxxxxx
> http://mailman.jtan.com/mailman/listinfo/jed-users-l

_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l


[2014 date index] [2014 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]