Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Thu, 08 Sep 2005 14:05:27 +0200
From: "Alex Kholodenko" <xolx@xdimax.com>
To: cygwin@cygwin.com
Subject: Re: Missing definitions in termios.h
MIME-Version: 1.0
Content-Type: text/plain
Message-ID: <WorldClient-F200509081405.AA05270015@xdimax.com>
X-Authenticated-Sender: xolx@xdimax.com
X-Spam-Processed: xdimax.com, Thu, 08 Sep 2005 14:05:30 +0200 	(not processed: message from valid local sender)
X-Return-Path: xolx@xdimax.com
X-MDaemon-Deliver-To: cygwin@cygwin.com
X-MDAV-Processed: xdimax.com, Thu, 08 Sep 2005 14:05:33 +0200

> On Sep 5 13:10, Alex Kholodenko wrote:
> > While compiling some project I've got following errors:
> > 
> > picport.cc:63: `TIOCM_RTS' undeclared (first use this function)
> > picport.cc:67: `TIOCM_DTR' undeclared (first use this function)
> > picport.cc:70: `TIOCMSET' undeclared (first use this function)
> > picport.cc:101: `TIOCCBRK' undeclared (first use this function)
> > picport.cc:103: `TIOCMGET' undeclared (first use this function)
> > picport.cc:110: `TIOCM_CTS' undeclared (first use this function)
> > picport.cc:196: `TIOCSBRK' undeclared (first use this function)
> > 
> > All this are definitions from termios.h that definitely where in this 
file 
> > before.
> > What can be done?
> 
> Check your sources (is termios.h included?) and your Cygwin installation.
> The above definitions are definitely still in termios.h.
> 
> 
> Corinna

Thanks.
After passing to latest cygwin release I have reduced a number of undeclared 
items to the following:
serial.c:612: error: `TIOCMBIS' undeclared (first use this function)
serial.c:614: error: `TIOCMBIC' undeclared (first use this function)

A few about my system:
> gcc --version
gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)

I'm sure this definitions were in termios.h as I have some older cygwin 
version where the same source pass compilation.

-- 
Alex@Dimax. www.xdimax.com



--
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/

