This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug other/29242] system headers lack a distinct default calling convention



------- Comment #7 from dannysmith at users dot sourceforge dot net  2006-09-27 03:23 -------
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)

> Imagine building gcc itself with regparm 3. You probably don't want
> to mark up the gcc source to enable this, but marking up the system
> header files is definitely not an option.

Actually, om mingw32, the system headers are marked up (explicitly) with
calling convention (__cdecl, __stdcall, __fastcall), to avoid the -mrtd
problem. So it is an option.  I think that MSVC headers also do this.

Danny


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]