| | |
ASM in C++ troubles
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Jun 2006
Posts: 11
Reputation:
Solved Threads: 0
Well i'm trying to implement pawn into my app (pawn the embedded scripting language) and while including the amxprocess.c i get these errors:
With this section of code:
Could someone tell me what is wrong with this and how to fix it?
•
•
•
•
Error 1 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 524
Error 2 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 527
Error 3 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 530
Error 4 error C2708: 'push' : actual parameters length in bytes differs from previous call or reference 533
C++ Syntax (Toggle Plain Text)
if ((ps[idx].type=='i' || ps[idx].type=='u' || ps[idx].type=='f') && ps[idx].range==1) { switch (ps[idx].size) { case 8: push((unsigned char)(ps[idx].v.val & 0xff); break; case 16: push((unsigned short)(ps[idx].v.val & 0xffff)); break; default: push(ps[idx].v.val); } /* switch */ } else { push(ps[idx].v.ptr); } /* if */
Could someone tell me what is wrong with this and how to fix it?
![]() |
Similar Threads
- intergrating ASM to C++ (C++)
- Sound Troubles (Windows 95 / 98 / Me)
- asm in C (C++)
Other Threads in the C++ Forum
- Previous Thread: do calculation on 4 integers that are inputed as whole number
- Next Thread: An OpenSource Database
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bmp c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll download dynamiccharacterarray email encryption error file format forms fstream function functions game generator givemetehcodez graph gui homeworkhelp iamthwee ifstream image input int java lib library list loop looping loops map math matrix memory multiple newbie news number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings temperature template text text-file tree url variable vector video visual visualstudio win32 windows winsock wordfrequency wxwidgets






