Message-ID: <3654DA3A.35F3CF3C@montana.com> Date: Thu, 19 Nov 1998 19:55:54 -0700 From: bowman X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: "djgpp AT delorie DOT com" Subject: rsxntdj stdio.h problem Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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.