Nonsense “template with C linkage” errors from GCC on some platforms

1 · Sporks · April 28, 2026, 7:07 a.m.
Summary
The blog post discusses "template with C linkage" errors encountered while compiling C++ projects using CMake. It identifies the issue stemming from CMake passing includes with -isystem instead of -I, which causes GCC to interpret headers differently on certain platforms like AIX. The author provides insights into addressing this compilation error.