This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Function attributes
- From: <patriciak784-gccmainling at yahoo dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 26 Sep 2005 15:05:07 +0200 (CEST)
- Subject: Function attributes
- Reply-to: patriciak784-gccmainling at yahoo dot de
I want to declear a function as
__declspec(dllexport) void my_HeapDestroy(HANDLE
hHeap) __attribute__ ((fastcall));
(which works without getting an error).
Now I need to write the function itself. I started
with
void my_HeapDestroy(HANDLE hHeap) but MinGW's GCC
3.4.2 complains about a function redefinition. What do
I have to write instead of void my_HeapDestroy(HANDLE
hHeap)?
___________________________________________________________
Was denken Sie über E-Mail? Wir hören auf Ihre Meinung: http://surveylink.yahoo.com/wix/p0379378.aspx