Re: [patch][c++] fix "invalid conversion from ‘void*’ to ‘char*’"
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: [patch][c++] fix "invalid conversion from ‘void*’ to ‘char*’"
- From: Roberto Ierusalimschy <roberto@...>
- Date: 2016年6月28日 14:00:25 -0300
> Wouldn't it be useful to use some macro magic to remove the cast
> when the code is built as plain C, so that the code the compiler
> sees is conforming both as C and as C++?
Currently, the code the compiler sees is already conforming both to C
and C++. Why that macro would be useful?
-- Roberto