delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/08/26/22:56:09

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 26 Aug 2003 22:55:45 -0400
From: Christopher Faylor <cgf-idd AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how can i use my own func in stdio.a?,such as printf
Message-ID: <20030827025544.GA24692@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <BAY1-F7SUfjhcgrqouL0000aa25 AT hotmail DOT com>
Mime-Version: 1.0
In-Reply-To: <BAY1-F7SUfjhcgrqouL0000aa25@hotmail.com>
User-Agent: Mutt/1.4.1i

On Wed, Aug 27, 2003 at 10:09:37AM +0800, zhao mindong wrote:
>i want to use my own printf,but i must use the other function declared
>in stdio.h,there is always an error"previous defined",how can i solve
>the problem.

Either you define your printf exactly the same way it is declared in
stdio.h or you:

#define printf BLAH_printf
#include <stdio.h>
#undef printf

>another question,how can i build the cygwin1.dll?any reference or
>document here?

Check the FAQ.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.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/

- Raw text -


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