Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
From: "Ronald Landheer" <info@rlsystems.net>
To: <cygwin@cygwin.com>
Cc: "Charles Wilson" <cwilson@ece.gatech.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
Content-Type: text/plain;
	charset="iso-8859-1"
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
Content-Transfer-Encoding: 8bit
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/

