Date: Mon, 15 Mar 2004 08:56:33 -0500 From: David Gilbert <dgilbert@dclg.ca> To: Daniel Lang <langd-freebsd-hackers@leo.org> Cc: David Gilbert <dgilbert@dclg.ca> Subject: Re: GCC include files conundrum. Message-ID: <16469.46609.293027.840180@canoe.dclg.ca> In-Reply-To: <20040315102516.GH15687@atrbg11.informatik.tu-muenchen.de> References: <16468.65270.123954.862565@canoe.dclg.ca> <20040315013817.GA68381@crodrigues.org> <16469.3340.625290.632134@canoe.dclg.ca> <20040315102516.GH15687@atrbg11.informatik.tu-muenchen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Daniel" == Daniel Lang <langd-freebsd-hackers@leo.org> writes: Daniel> Hi, David Gilbert wrote on Sun, Mar 14, 2004 at 08:55:24PM Daniel> -0500: [..] >> I'll ignore the condescending tone for a momment. It's worth >> noting that everything works by simply having a copy of strstream.h >> in the backward directory. Maybe the right path to take here is to >> include that file much as we include old versions of shared >> libraries. Daniel> I disagree. Valid standards should be enforced. Providing Daniel> compatibilty just keeps more and more non-compliant pieces of Daniel> code around. The earlier authors and maintainers are forced to Daniel> update their software to be standard-compliant the better. Daniel> Even if it's painful and apparently unnecessary work for the Daniel> moment. It is beneficial in the long run. Daniel> This is just my general opinion on such things. Well... there's a time and a place for this. To be mainstream, we need to consider that compatibility is what attracts most people. In this case, it appears that someone was coding to an earlier standard ... not just hacking something together. The _real_ problem here is incompatible langauge changes ... leading me to loose yet more faith in C++ as a whole. Daniel> In your particular case, maybe you could add a copy of Daniel> strstream.h as a patch to the port into the build directory Daniel> and reference it as "strstream.h" instead of <strstream.h>. Daniel> Thus the system libstdc++ headers do not need to be polluted. Finally a helpful idea I hadn't explored yet, thank-you. Dave. -- ============================================================================ |David Gilbert, Independent Contractor. | Two things can only be | |Mail: dave@daveg.ca | equal if and only if they | |http://daveg.ca | are precisely opposite. | =========================================================GLO================
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16469.46609.293027.840180>