Mail Archives: djgpp/1998/11/19/21:56:18
Upon further investigation, the instance of 'stdio.h' causing problems
resides in /rsxntdj/include/. The one in rsxntdj/include/mssdk/ is never
reached due to the search order.
the djgppFAQ mentions a problem with several inline functions that are
declared as 'external', and notes that they will never be instantiated,
and will fail during linking. The suggestion is made to define away
'external' before including the file.
This causes the reverse problem; every compiled module gets an instance
of the inlines and linking fails on multiple definitions.
I've replaced the inlines with macros, and this seems to be a solution.
- Raw text -