On Tuesday, 18 November 2025 11:54:38 Pacific Standard Time Scott Bloom wrote: > Currently the macro declares the function qInitResource_XXXX with > > extern int QT_MANGLE_NAMESPACE( qInitResource_ ## name )() > > I would like to suggest its changed to > > extern “C++” int QT_MANGLE_NAMESPACE( qInitResource_ ## name )() [snip] > Changing the macro would fix this with zero downside. > > Thought?
It doesn't compile. Use of extern "C++" there is not allowed by the language. https://gcc.godbolt.org/z/Kjrvb3bfv -- Thiago Macieira - thiago.macieira (AT) intel.com Principal Engineer - Intel DCG - Platform & Sys. Eng.
smime.p7s
Description: S/MIME cryptographic signature
-- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
