delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/20/12:09:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Ronald Landheer" <info AT rlsystems DOT net>
To: <cygwin AT cygwin DOT com>
Cc: "Charles Wilson" <cwilson AT ece DOT gatech DOT edu>
Subject: Compiling C++ example from dllhelpers-0.2.8 results in warnings - is this normal?
Date: Thu, 20 Sep 2001 18:08:53 +0200
Message-ID: <NFBBLOMHALONCDMPGBLFGENJCBAA.info@rlsystems.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id MAA18526

Hello all,

This is no big deal - no worries.

Because there'd been a lot of discussion here about DLL's bumping into 
eachother, and because Charles Wilson has released a new version of
dllhelpers right after, I downloaded & compiled.
'make'-ing the C++ example results in this:
-- BEGIN SNIPPET --
$ make
c++ -c  -I. -g  -o dllclass.o dllclass.cc
c++ -c  -I. -g  -o dllexterns.o dllexterns.cc
g++ -shared -Wl,--out-implib=libcxxdll.dll.a \
-o cygcxxdll.dll dllclass.o dllexterns.o -Wl,--export-all -Wl,--enable-auto-import
Creating library file: libcxxdll.dll.a
c++ -c -I. -g  -o usedll.o usedll.cc
c++ -o usedll.exe -g  -Wl,--enable-auto-import usedll.o -L./ -lcxxdll
Warning: resolving DllClass::instances   by linking to __imp___8DllClass$instances (auto-import)
Warning: resolving _global_dllclass2 by linking to __imp__global_dllclass2 (auto-import)
Warning: resolving _global_dllclass1 by linking to __imp__global_dllclass1 (auto-import)
Warning: resolving _global_int_variable by linking to __imp__global_int_variable (auto-import)
-- END SNIPPET --
Because I don't like warnings, I thought I'd report it, though it's 
probably already known (?) and considered normal behaviour (?).
The example works fine, by the way - no problem @all

Greetz!

Ronald

NB: I get the same kind of auto-import warning with the c_and_c++ 
    example.. The other two are OK - no prob.
NNB: My post of Wed 19-09-2001 11:35 contains a cygcheck.out - nothing
     has changed since: still Win98 SE w/ every latest thing of Cygwin


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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