This is the mail archive of the gcc-help@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]

Function attributes


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


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