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

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: Thu, 18 Sep 2003 15:56:07 -0400
From: Christopher Faylor <cgf-rcm AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: getopt: ugly linker messages
Message-ID: <20030918195607.GA11311@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <200309181953 DOT h8IJrMWa017255 AT bolt DOT sonic DOT net>
Mime-Version: 1.0
In-Reply-To: <200309181953.h8IJrMWa017255@bolt.sonic.net>
User-Agent: Mutt/1.4.1i

On Thu, Sep 18, 2003 at 12:53:22PM -0700, Bryan Higgins wrote:
>How can I suppress the linker messages
>
>Info: resolving _opterr by linking to __imp__opterr (auto-import)
>Info: resolving _optarg by linking to __imp__optarg (auto-import)
>Info: resolving _optopt by linking to __imp__optopt (auto-import)
>Info: resolving _optind by linking to __imp__optind (auto-import)
>
>which now appear?

#include <getopt.h>

and don't define any of the getopt variables yourself.

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