public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "p dot obry at wanadoo dot fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/20515] "stdcall" imports are not handled correctly
Date: Mon, 27 Jun 2005 18:50:00 -0000	[thread overview]
Message-ID: <20050627185022.30474.qmail@sourceware.org> (raw)
In-Reply-To: <20050317091946.20515.sbellon@sbellon.de>


------- Additional Comments From p dot obry at wanadoo dot fr  2005-06-27 18:50 -------
Danny,

(In reply to comment #10)
> The patch that was committed to fix this is wrong.
> 
> #ifdef TARGET_DLLIMPORT_DECL_ATTRIBUTES is always true. It is defined to 0 for 
> non-dll targets in defaults.h.

I see! Would #if instead of #ifdef fix the problem. I'm not a cross expert, so
this is why I got this wrong.

> Why not make this a runtime switch as suggested earlier, rather than a 
> preprocessor switch? 

Maybe it is better to have this checked statically if possible.

What do you think ?

Pascal.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20515


      parent reply	other threads:[~2005-06-27 18:50 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-17  9:20 [Bug ada/20515] New: " sbellon at sbellon dot de
2005-03-17  9:58 ` [Bug ada/20515] " charlet at adacore dot com
2005-03-18  3:30 ` dannysmith at users dot sourceforge dot net
2005-03-18  4:23 ` dannysmith at users dot sourceforge dot net
2005-03-19 13:08 ` p dot obry at wanadoo dot fr
2005-03-19 14:52 ` p dot obry at wanadoo dot fr
2005-03-19 20:54 ` dannysmith at users dot sourceforge dot net
2005-04-06 18:14 ` p dot obry at wanadoo dot fr
2005-04-07  8:29 ` dannysmith at users dot sourceforge dot net
2005-06-16  8:57 ` cvs-commit at gcc dot gnu dot org
2005-06-16  9:11 ` charlet at gcc dot gnu dot org
2005-06-25 12:20 ` dannysmith at users dot sourceforge dot net
2005-06-27 18:50 ` p dot obry at wanadoo dot fr [this message]

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=20050627185022.30474.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).