Date: Mon, 27 Mar 2023 13:01:25 -0400
On Monday, 27 March 2023 12:32:45 EDT Phil Bouchard wrote:
> I could easily figure it out with Clang's memory sanitizer in Linux but
> under Windows we can't compile CUDA using Clang.
Complain to your CUDA vendor. That has nothing to do with the C++ standard: if
you're using a piece software that you can't modify to your wishes, modifying
the C++ standard is not the solution to the problem.
> My initial goal was to integrate some virtual table-based allocator so
> we could overwrite the system one on an application basis. It turned out
> the idea might be not trivial to implement in Microsoft Windows' system
> DLLs.
Then don't use DLLs. Compile with /MT and link everything statically.
> > Go to Microsoft and ask them to fix it.
>
> Last time I talked to them they embraced and extended my PowerCalc into
> their MS Power Toys, so I'd rather do it the correct way from now on.
Since the correct way is to have Microsoft fix Microsoft bugs, I don't see your
reticence here.
> I could easily figure it out with Clang's memory sanitizer in Linux but
> under Windows we can't compile CUDA using Clang.
Complain to your CUDA vendor. That has nothing to do with the C++ standard: if
you're using a piece software that you can't modify to your wishes, modifying
the C++ standard is not the solution to the problem.
> My initial goal was to integrate some virtual table-based allocator so
> we could overwrite the system one on an application basis. It turned out
> the idea might be not trivial to implement in Microsoft Windows' system
> DLLs.
Then don't use DLLs. Compile with /MT and link everything statically.
> > Go to Microsoft and ask them to fix it.
>
> Last time I talked to them they embraced and extended my PowerCalc into
> their MS Power Toys, so I'd rather do it the correct way from now on.
Since the correct way is to have Microsoft fix Microsoft bugs, I don't see your
reticence here.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Software Architect - Intel DCAI Cloud Engineering
Received on 2023-03-27 17:01:29