https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99317
Martin Sebor changed:
What|Removed |Added
CC||msebor at gcc dot gnu.org
Resolut
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99317
--- Comment #3 from Andrew Pinski ---
Right.
basically what I am saying is:
x ? void* : char*
implies an implict conversion of the second operand to void*.
Without the cast, there is no implict conversion in standard C, that is what
the warning i
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99317
--- Comment #2 from Piotr ---
@(In reply to Andrew Pinski from comment #1)
> I dont think this is exactly a bug. The warning is a pedantic warning and
> with void*, things are implicitly converted by standard c rules.
With not `void *` it is exa
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99317
--- Comment #1 from Andrew Pinski ---
I dont think this is exactly a bug. The warning is a pedantic warning and with
void*, things are implicitly converted by standard c rules.