Passing to Function
All,
I'm using Eclipse Helios on Slackware 14.0. I'm also using Allegro 4.2. The issue I'm getting is the dreaded Allegro Signal #11. I know it has to do with a new function I've created because I can turn it on and off by commenting the function call out. The only thing i can think of is the called function gets 3 pointers passed to it that originally come from another function. IE
main(){
FunctA(W,X,Y,Z)
}
FunctA(W,X,Y,Z){
Do stuff
FunctB(Z,Y,X)
}
FunctB(Z,Y,X){
do stuff
}
My question is, if FunctA() is receiving the parameters in WXYZ order, Even though FunctB() doesn't use all 4 parameters do the ones that are being passed need to be in the same order?
Thanks
Ace
|