[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (main_buf = *main_buf_p) is not syntacticly like (i = *j) ?
- To: Shaul Karl <shaulka(at-nospam)bezeqint.net>
- Subject: Re: (main_buf = *main_buf_p) is not syntacticly like (i = *j) ?
- From: Oleg Goldshmidt <ogoldshmidt(at-nospam)computer.org>
- Date: 02 Jul 2001 15:56:06 +0300
- Cc: linux-il(at-nospam)linux.org.il
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: Shaul Karl's message of "Mon, 02 Jul 2001 15:00:21 +0300"
- Organization: Speaking for myself only.
- Original-Sender: ogoldshmidt@computer.org
- References: <E15H2NP-0002sn-00@rakefet>
- Reply-To: ogoldshmidt(at-nospam)computer.org
- Sender: ogoldshmidt(at-nospam)comgates.co.il
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
- User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)
Shaul Karl <shaulka@bezeqint.net> writes:
> #include <setjmp.h>
>
> int main()
> {
> jmp_buf test_env;
> jmp_buf *test_env_p = &test_env;
>
> test_env = *test_env_p;
> return 0;
> }
I suspect that line 9 is the assignment before the return statement.
The assignment can be, and probably is, illegal: jmp_buf is not
a scalar type, but an array, and you cannot assign arrays.
--
Oleg Goldshmidt | ogoldshmidt@NOSPAM.computer.org
If it ain't broken, it hasn't got enough features yet.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il