From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1359 invoked by alias); 18 Sep 2003 20:13:11 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1350 invoked from network); 18 Sep 2003 20:13:10 -0000 Received: from unknown (HELO redhat.com) (66.187.230.200) by sources.redhat.com with SMTP; 18 Sep 2003 20:13:10 -0000 Received: by redhat.com (Postfix, from userid 201) id 7DF4F32A822; Thu, 18 Sep 2003 16:13:04 -0400 (EDT) Date: Thu, 18 Sep 2003 20:18:00 -0000 From: Christopher Faylor To: cygwin@cygwin.com Subject: Re: getopt: ugly linker messages Message-ID: <20030918201304.GA12297@redhat.com> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <200309182008.h8IK8EWa018786@bolt.sonic.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200309182008.h8IK8EWa018786@bolt.sonic.net> User-Agent: Mutt/1.4.1i X-SW-Source: 2003-09/txt/msg01233.txt.bz2 On Thu, Sep 18, 2003 at 01:08:14PM -0700, Bryan Higgins wrote: >On Thu, 18 Sep 2003 15:56:07 -0400, Christopher Faylor wrote: >>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 >> >>and don't define any of the getopt variables yourself. > >Since POSIX getopt is handled in unistd.h, shouldn't the magic appear there? You can use unistd.h if you want. If you knew this already why were you asking the question? -- 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/