| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| From: | "Tim Beuman" <timb AT cdvinc DOT com> |
| To: | "Cygwin AT Cygwin. Com" <cygwin AT cygwin DOT com> |
| Subject: | RE: Error: symbol `_D' is already defined |
| Date: | Fri, 6 Dec 2002 10:02:42 -0800 |
| Message-ID: | <GFEAKACMDNLNLPNMIFFLOEBHDDAA.timb@cdvinc.com> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
| In-Reply-To: | <20021206003131.91605.qmail@web21405.mail.yahoo.com> |
| X-Authenticated-Sender: | timb AT cdvinc DOT com |
| X-Return-Path: | timb AT cdvinc DOT com |
| X-MDaemon-Deliver-To: | cygwin AT cygwin DOT com |
Thanks. Works.
Tim
-----Original Message-----
From: Danny Smith [mailto:danny_r_smith_2001 AT yahoo DOT co DOT nz]
Sent: Thursday, December 05, 2002 04:32 PM
To: cygwin AT cygwin DOT com
Subject: Re: Error: symbol `_D' is already defined
From: "Tim Beuman" <timb at cdvinc dot com>
To: "Cygwin at Cygwin dot Com" <cygwin at cygwin dot com>
Date: Thu, 5 Dec 2002 15:39:30 -0800
Subject: Error: symbol `_D' is already defined
----------------------------------------------------------------------------
----
Hi,
I am getting the following error when compiling a c++ source:
/d/Temp/ccuwCNBi.s: Assembler messages:
/d/Temp/ccuwCNBi.s:11: Error: symbol `_D' is already defined
==snip==
extern "C" {
__attribute__((dllimport)) Dtmethod_t* Dtset;
__attribute__((dllimport)) Dtmethod_t* Dtbag;
}
add explicit extern to your declarations of extern variables, eg:
extern __attribute__((dllimport)) Dtmethod_t* Dtset;
This is fixed in CVS sources: __attribute__((dllimport)) implicitly adds
extern.
Danny
http://www.yahoo.promo.com.au/hint/ - Yahoo! Hint Dropper
- Avoid getting hideous gifts this Christmas with Yahoo! Hint Dropper!
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |