public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/7740] builtins, and functions marked as extern "C++" with incorrect "C" linkage
       [not found] <20020827142601.7740.gccfeature@yahoo.com>
@ 2003-08-06  0:44 ` pinskia at physics dot uc dot edu
  2004-11-03  8:20 ` joerg dot richter at pdv-fs dot de
  1 sibling, 0 replies; 4+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06  0:44 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |normal


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/7740] builtins, and functions marked as extern "C++" with incorrect "C" linkage
       [not found] <20020827142601.7740.gccfeature@yahoo.com>
  2003-08-06  0:44 ` [Bug c++/7740] builtins, and functions marked as extern "C++" with incorrect "C" linkage pinskia at physics dot uc dot edu
@ 2004-11-03  8:20 ` joerg dot richter at pdv-fs dot de
  1 sibling, 0 replies; 4+ messages in thread
From: joerg dot richter at pdv-fs dot de @ 2004-11-03  8:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From joerg dot richter at pdv-fs dot de  2004-11-03 08:20 -------
In a recent discussion on comp.lang.c++.moderated was this example to give 
bar "C++" linkage and foo "C" linkage. But g++ gives them both "C" linkage. It 
might be anonther instance of this problem.


extern "C++" {
  typedef void (cpp_func)(int);
}
extern "C" void foo(int a){
   cpp_func bar;
   bar(a);
}

> nm x.o
         U bar
00000000 T foo



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joerg dot richter at pdv-fs
                   |                            |dot de


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/7740] builtins, and functions marked as extern "C++" with incorrect "C" linkage
       [not found] <bug-7740-3269@http.gcc.gnu.org/bugzilla/>
  2009-10-24  5:16 ` jason at gcc dot gnu dot org
@ 2009-10-24  5:17 ` jason at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-10-24  5:17 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jason at gcc dot gnu dot org  2009-10-24 05:16 -------
Fixed by the patch for PR 37276.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c++/7740] builtins, and functions marked as extern "C++" with incorrect "C" linkage
       [not found] <bug-7740-3269@http.gcc.gnu.org/bugzilla/>
@ 2009-10-24  5:16 ` jason at gcc dot gnu dot org
  2009-10-24  5:17 ` jason at gcc dot gnu dot org
  1 sibling, 0 replies; 4+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-10-24  5:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jason at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-06-19 15:04:17         |2009-10-24 05:15:51
               date|                            |


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-10-24  5:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020827142601.7740.gccfeature@yahoo.com>
2003-08-06  0:44 ` [Bug c++/7740] builtins, and functions marked as extern "C++" with incorrect "C" linkage pinskia at physics dot uc dot edu
2004-11-03  8:20 ` joerg dot richter at pdv-fs dot de
     [not found] <bug-7740-3269@http.gcc.gnu.org/bugzilla/>
2009-10-24  5:16 ` jason at gcc dot gnu dot org
2009-10-24  5:17 ` jason at gcc dot gnu dot org

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).