Nadav Har'El wrote: >Which means the jmp_buf type is an array. In C you can't normally assign >arrays like you did (because C thinks you're trying to assign pointers, rather >than the content of the array), so either do > Slight correction. I know I lost a bet over this, and I know many people make this mistake. The compiler doesn't view arrays as pointers. Arrays and pointers are distinct things in C. They are easily castable one into the other, hence the common misconception, but they are defenitely distinct. This is the reason that 2d arrays take n*m*sizeof(type), and not n*m*sizeof(type)+n*sizeof(type *). Sh. ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
- (main_buf = *main_buf_p) is not syntacticly like (i = *j... Shaul Karl
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Nadav Har'El
- Re: (main_buf = *main_buf_p) is not syntacticly... Shachar Shemesh
- Re: (main_buf = *main_buf_p) is not syntact... Nadav Har'El
- Re: (main_buf = *main_buf_p) is not syntacticly... Adi Stav
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Shachar Shemesh
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Ermon (Eyal Sagi)
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Ralph E. Sapphism
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Adi Stav
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Oleg Goldshmidt
- Re: (main_buf = *main_buf_p) is not syntacticly lik... Shaul Karl
- Re: (main_buf = *main_buf_p) is not syntacticly... Nadav Har'El
- Re: (main_buf = *main_buf_p) is not syntact... Shachar Shemesh