From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26521 invoked by alias); 23 Jun 2004 20:07:56 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 26306 invoked from network); 23 Jun 2004 20:07:53 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org with SMTP; 23 Jun 2004 20:07:53 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1BdE2A-0000bw-00; Wed, 23 Jun 2004 22:07:50 +0200 Date: Wed, 23 Jun 2004 20:07:00 -0000 To: Uwe Kindler Cc: ecos-discuss@sources.redhat.com, Andrew Lunn Message-ID: <20040623200750.GD7220@lunn.ch> Mail-Followup-To: Uwe Kindler , ecos-discuss@sources.redhat.com, Andrew Lunn References: <001701c44a5c$765b5440$b653b8d9@uwepc> <20040604210949.GA6008@lunn.ch> <000501c44ad9$fabb8b10$424fb8d9@uwepc> <20040605125006.GB6008@lunn.ch> <001b01c45946$68fd25a0$8141b8d9@uwepc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001b01c45946$68fd25a0$8141b8d9@uwepc> User-Agent: Mutt/1.5.6+20040523i From: Andrew Lunn Subject: Re: [ECOS] Free BSD ioctl problem (Renesas EDOSK2674) X-SW-Source: 2004-06/txt/msg00229.txt.bz2 > I did what you have suggested to and received the following answer from GNU > support: > > //-------------------------------------------------------------------------- > - > "I think the statments made in the above link regarding variadic functions > are plainly wrong. It may work for sometimes for some targets but definately > not for all targets. The reason is the compiler may and can pass arguments > differently depending on the prototype and especially for varadic > functions." > > Both the declaration and definition should agree mixing them isn't going to > work." > > Please refer following link, > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16000 > > Regards, > GNU Support. > //----------------------------------------------------------------------- > > So maybe it is necessary now to fix the function ioctl in io.cxx to take a > variable number of arguments. Its interesting GNU are saying there own documentation is wrong, especially when this actually works for most targets. Let me do some more checking. Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss