Date: Thu, 8 Feb 2001 10:28:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Stephen Silver cc: DJGPP Workers Subject: Re: stddef.h - namespace std patch In-Reply-To: <003a01c09158$f39742e0$f9e4883e@oemcomputer> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 7 Feb 2001, Stephen Silver wrote: > This is the stddef.h patch. Thanks. > The only complication here is that 'offsetof' needs a different > definition in C++ (using std::size_t instead of size_t). Hmm... I feel uneasy about this. Won't this backfire with older/newer/different versions of the C++ compiler, and won't it break if users use namespaces not to the letter of The Law? Anyway, what bad things happen if we leave offsetof's definition as it is now? This survived unchanged for many years, and I don't think I've ever seen a problem report about it.