Moving the kernel to modern C
Moving the kernel to modern C
Posted Mar 4, 2022 20:22 UTC (Fri) by marcH (subscriber, #57642)In reply to: Moving the kernel to modern C by marcH
Parent article: Moving the kernel to modern C
BTW a great trick to unravel (evil) cpp macros is to deliberately insert a compilation error. gcc then shows the entire stack of macros involved. Much easier than cc -E or something.
Same trick with build systems and many other situations with "too many layers of indirections": deliberately injecting errors is often a great shortcut.
(none of that available at run-time of course)
