delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/28/17:32:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: <jkmccarthy AT pacbell DOT net>
From: "Jim McCarthy" <jkmccarthy AT pacbell DOT net>
To: "'Gerrit P. Haase'" <gp AT familiehaase DOT de>, <cygwin AT cygwin DOT com>
Subject: RE: SEDT (VMS EDT-like editor) under Cygwin ?
Date: Sun, 28 Nov 2004 14:32:15 -0800
Message-ID: <001101c4d59a$1d84f870$0700a8c0@services.sp.trw.com>
MIME-Version: 1.0
In-Reply-To: <41AA4311.5040501@familiehaase.de>

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 AT familiehaase DOT de]
Sent: Sunday, November 28, 2004 13:29
To: cygwin AT cygwin DOT com; jkmccarthy AT pacbell DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019