delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/07/08/19:35:00

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_RJ,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 8 Jul 2010 19:34:42 -0400
Message-ID: <AANLkTimvCA12jm3SNDaDs7yckO9GLwPd01P_U7mCqYju@mail.gmail.com>
Subject: Interesting discovery in the C library that Cygwin uses
From: Gregg Levine <gregg DOT drwho8 AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hello!
I made this discovery whilst building the urjtag program from its SVN trunk:
make[3]: Entering directory `/usr/local/urjtag/urjtag/trunk/urjtag/src/tap'
 CC     tap.lo
 CC     register.lo
 CC     state.lo
 CC     chain.lo
 CC     detect.lo
detect.c: In function `find_record':
detect.c:89: warning: array subscript has type `char'
detect.c:96: warning: array subscript has type `char'
detect.c:107: warning: array subscript has type `char'
detect.c:125: warning: array subscript has type `char'
detect.c:134: warning: array subscript has type `char'
detect.c:150: warning: array subscript has type `char'
make[3]: *** [detect.lo] Error 1
make[3]: Leaving directory `/usr/local/urjtag/urjtag/trunk/urjtag/src/tap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/urjtag/urjtag/trunk/urjtag/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/urjtag/urjtag/trunk/urjtag'
make: *** [all] Error 2
-- 
The fix, temporarily as it happens was to add to the configure script
this one: --disable-werror . The chap who suggested it also suggested
that I complain here. It was described as  an isspace() has an issue,
I won't use the term he used.

The code can be found at http://urjtag.sf.net as it happens.

Basically the program supporter there wants the people here for Cygwin
to, ah, fix their C library. I'm not convinced that's necessary, but
which C library is used here? And what could be fixed?
-----
Gregg C Levine gregg DOT drwho8 AT gmail DOT com
"This signature fought the Time Wars, time and again."

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

- Raw text -


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