There's no bug in what you posted. Conversition from 'T **' to 'const T *const *' has never been allowed as an implicit conversion in standard C (as opposed to C++, which allows this). A compliant C compiler should issue a diagnostic for this code since this is a constraint violation, which is exactly what your compiler did. If I'm not mistaken, C23 is/was supposed to bring C on sync with C++ wrt this matter. -- Best regards Andrey Tarasevich
- Fwd: A: a new bug to old plain... Александр Поваляев via Gcc
- Re: Fwd: A: a new bug to ... ANDREY TARASEVICH via Gcc
- Re: Fwd: A: a new bug... Andrey Tarasevich via Gcc
- Re: Fwd: A: a new... Martin Uecker via Gcc
- Re: Fwd: A: a... Christopher Bazley via Gcc
