> On Mar 13, 2025, at 11:27 AM, James K. Lowden <jklow...@schemamania.org> 
> wrote:
> 
> On Mon, 10 Mar 2025 19:10:26 +0100
> Richard Biener <richard.guent...@gmail.com> wrote:
> 
>>> What is the right answer?  Designated initializers are part of C99,
>>> but weren't added to C++ until C++20
>>> (https://en.cppreference.com/w/cpp/language/initialization).
>>> Strictly speaking, we should remove all of them, because our
>>> baseline is C++14.
>> 
>> Yes.
> 
> I have completed work on this, where "completed" means "9 tests fail".  Bob 
> and I are looking into why, because of course my changes weren't meant to 
> change anything.  
> 
> The changes include
> 
> 1.  remove VLAs in favor of std::vector
> 2.  write contructors for classes containing unions
> 3.  eliminate use of designated initializers
> 4.  cast pointers formatted with %p as (void*)

Could that be (const void *) instead?

        paul

Reply via email to