From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,fa673a532df3da0f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-03-06 12:27:00 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!hammer.uoregon.edu!skates!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: Try to understand a linker Warning ; Date: 06 Mar 2003 15:07:07 -0500 Organization: NASA Goddard Space Flight Center (skates.gsfc.nasa.gov) Message-ID: References: <200336-11621-945152@foorum.com> NNTP-Posting-Host: anarres.gsfc.nasa.gov Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: skates.gsfc.nasa.gov 1046982065 23792 128.183.235.92 (6 Mar 2003 20:21:05 GMT) X-Complaints-To: usenet@news.gsfc.nasa.gov NNTP-Posting-Date: 6 Mar 2003 20:21:05 GMT User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.ada:34994 Date: 2003-03-06T20:21:05+00:00 List-Id: xela writes: > Does somebody knows the exact meaning of this linker warning (using > ObjectAda 7. 2.2) ? > ---------- > ObjectAda Enterprise Edition Version 7.2.2: adabuild > Copyright (c) 1997-2002 Aonix. All rights reserved. > LINK : warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF I don't use ObjectAda, but this seems clear enough; the linker discovered it didn't need USER32.dll. So you can probably delete USER32.dll from the list of dll's you gave the linker. USER32.dll is the core Windows GUI library. If your app is command-line, this makes sense. -- -- Stephe