Reimar Döffinger (12023-07-28): > I assume the issue is missing symbols during linking? > If you really want this, why not create a file that provides dummy > symbols for all that are missing, concentrating the #if mess in > a single place and avoiding affecting any of the regular code, and thus > having no impact at all when compiling with optimizations. > Yes, it's likely to be a good bit of maintenance effort for those who > want to use it, but at least anyone not caring about this feature can > ignore it, so at least I would not have a reason to be against it. This is an interesting idea. It would even be possible to include a tool that generate these stubs directly from the linker's errors, reducing the maintenance. Maybe even make the stubs static inline functions rather than actual linking symbols. Regards, -- Nicolas George