...how was that ever legal (or useful) in the first place?

On Thu, May 25, 2023 at 10:48 AM 'Derek Schuff' via emscripten-discuss <
emscripten-discuss@googlegroups.com> wrote:

> tl;dr: if you're currently using the -Wno-void-ptr-dereference flag,
> you'll need to fix your code to stop dereferencing void pointers in C++
>
> Hello emscripten users,
> Dereferencing a void* pointer is invalid in C++ but until recently Clang
> allowed it (by disabling the default warning-as-error). A change
> <https://reviews.llvm.org/D150875> recently landed in clang that will
> remove the option to do this, so I wanted to give you all as early of a
> warning as possible that you may need to fix your code (hopefully not; if
> you're not using -Wno-void-ptr-dereference you should be fine). I expect
> this change to eventually roll into an emscripten release in the next few
> weeks.
> Thanks!
> -Derek
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/emscripten-discuss/CAAEAhveRENM0o-ov%3DUT_yF16KboOGwhiLubhFx7HtWNb%3Dg8mrQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/emscripten-discuss/CAAEAhveRENM0o-ov%3DUT_yF16KboOGwhiLubhFx7HtWNb%3Dg8mrQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAM%3Ddnvc-j1zZCd6-UYMOzVHHARFLaX8iLOO5W3VZUR0NOvuK0g%40mail.gmail.com.

Reply via email to