
JP
By: a guest on
Nov 10th, 2009 | syntax:
C | size: 0.24 KB | hits: 84 | expires: Never
/* A simple example */
__declspec(dllexport) int Func(int num) __asm__("_Func@4");
__declspec(dllexport) int Func(int num) {
return num * 2;
}
/* Cannot export _Func@4: symbol not found
collect2: ld returned 1 exit status */