From: "Danny Smith" <danny_r_smith_2001@yahoo.co.nz>
To: cygwin@cygwin.com
Subject: Re: Error: symbol `_D' is already defined
Date: Thu, 05 Dec 2002 17:14:00 -0000 [thread overview]
Message-ID: <20021206003131.91605.qmail@web21405.mail.yahoo.com> (raw)
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/
next reply other threads:[~2002-12-06 0:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-05 17:14 Danny Smith [this message]
2002-12-06 10:03 ` Tim Beuman
-- strict thread matches above, loose matches on Subject: below --
2002-12-05 15:42 Tim Beuman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021206003131.91605.qmail@web21405.mail.yahoo.com \
--to=danny_r_smith_2001@yahoo.co.nz \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).