MS compiler mangles fastcall function names. For

void foo (int i):

In C++, it is mangled as

1. Wth fastcall:  ?foo@@[EMAIL PROTECTED]
                         ^ This an additional “I”.
2. Without fastcall: ?foo@@[EMAIL PROTECTED]

In C, it is mangled as

1. With fastcall: @[EMAIL PROTECTED]
2. Without fastcall: _foo

Gcc doesn't mangle fastcall.


-- 
           Summary: Gcc doesn't mangle fastcall
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to