[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gcc best practices | problems

On Sat, 2005-10-29 at 01:20 -0700, Steve Langasek wrote:
> On Sat, Oct 29, 2005 at 02:22:15AM -0400, -.JavaManiac.- wrote:

> If the package doesn't compile with gcc-4.0 because your code needs to be
> updated, you should fix your code.  You should only depend on older
> compiler versions in the case of a bug in the current version (or in
> exceptional cases, such as a kernel or libc needing a particular compiler
> version because the package abuses the compiler).

There is one more very ugly case:
compiler ABI changes (I believe that doesn't apply here since
gcc 4.x uses same C ABI as gcc 3.4, not sure about C++ though)

On my Ubuntu Hoary system a number of packages depend on
libstdc++.so.5, but my installed g++ uses libstdc++.so.6,
and they conflict [but the linker doesn't stop you making
a program that segfaults .. ugghh ..]

John Skaller <skaller at users dot sf dot net>
Felix, successor to C++: http://felix.sf.net

Reply to: