This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: SEDT (VMS EDT-like editor) under Cygwin ?


Sorry, no patchfile, but ...

1) Edit sedt.c and change all 'stricmp' to 'sedt_stricmp' to avoid
   conflict with 'stricmp' declaration in /usr/include/string.h

2) In comd.c, add #include <errno.h> before line #include "proto.h"

With these changes, build should result in a functional sedt.exe
file.

      -- Jim


-----Original Message-----
From: Gerrit P. Haase [mailto:gp@familiehaase.de]
Sent: Sunday, November 28, 2004 13:29
To: cygwin@cygwin.com; jkmccarthy@pacbell.net
Subject: Re: SEDT (VMS EDT-like editor) under Cygwin ?

I'm getting this:

$ make
ccache gcc -O -DANSIC -DUNIX -DTERMCAP -DLINUX   -c -o sedt.o sedt.c
sedt.c: In function `strcasecmp':
sedt.c:1297: error: argument "S" doesn't match prototype
/usr/include/string.h:60: error: prototype declaration
sedt.c:1297: error: argument "T" doesn't match prototype
/usr/include/string.h:60: error: prototype declaration
make: *** [sedt.o] Error 1


Have you a patchfile about the changes you needed to apply to the sources?

Gerrit
-- 
=^..^=

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]