Re: [PATCH v2] exec: use char* for pointer arithmetic

2024-06-20 Thread Philippe Mathieu-Daudé
On 19/6/24 02:04, Roman Kiryanov wrote: void* pointer arithmetic is not in the C standard. This change allows using the QEMU headers with a C++ compiler. Google-Bug-Id: 331190993 Change-Id: I5a064853429f627c17a9213910811dea4ced6174 Signed-off-by: Roman Kiryanov --- v2: change `char*` into `char

Re: [PATCH v2] exec: use char* for pointer arithmetic

2024-06-18 Thread Richard Henderson
On 6/18/24 17:04, Roman Kiryanov wrote: void* pointer arithmetic is not in the C standard. This change allows using the QEMU headers with a C++ compiler. Google-Bug-Id: 331190993 Change-Id: I5a064853429f627c17a9213910811dea4ced6174 Signed-off-by: Roman Kiryanov --- v2: change `char*` into `char

[PATCH v2] exec: use char* for pointer arithmetic

2024-06-18 Thread Roman Kiryanov
void* pointer arithmetic is not in the C standard. This change allows using the QEMU headers with a C++ compiler. Google-Bug-Id: 331190993 Change-Id: I5a064853429f627c17a9213910811dea4ced6174 Signed-off-by: Roman Kiryanov --- v2: change `char*` into `char *` (add the missing space). include/exe