This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: getopt: ugly linker messages


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]