www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/19/21:56:18

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019