[EMAIL PROTECTED] writes:
| On 26 Apr 2006, Gabriel Dos Reis wrote:
|
| [EMAIL PROTECTED] writes:
|
| | It is gcc 4.1.0, --target=arm-elf compiled on an Intel platform and
| | GNU/Linux.
| |
| | The following construct:
| |
| | void *p;
| |
| | ((char *)p)++;
| |
| | makes the
[EMAIL PROTECTED] writes:
| It is gcc 4.1.0, --target=arm-elf compiled on an Intel platform and
| GNU/Linux.
|
| The following construct:
|
| void *p;
|
| ((char *)p)++;
|
| makes the compiler to issue an error message, namely
| invalid lvalue in increment
|
| The ((char *)p) construct
On 26 Apr 2006, Gabriel Dos Reis wrote:
[EMAIL PROTECTED] writes:
| It is gcc 4.1.0, --target=arm-elf compiled on an Intel platform and
| GNU/Linux.
|
| The following construct:
|
| void *p;
|
| ((char *)p)++;
|
| makes the compiler to issue an error message, namely
| invalid
It is gcc 4.1.0, --target=arm-elf compiled on an Intel platform and
GNU/Linux.
The following construct:
void *p;
((char *)p)++;
makes the compiler to issue an error message, namely
invalid lvalue in increment
The ((char *)p) construct is perfectly valid object, a char pointer which