Re: Old source code needed - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Old source code needed
Date
Msg-id 56586C3B.6070600@aklaver.com
Whole thread Raw
In response to Re: Old source code needed  (Jan de Visser <jan@de-visser.net>)
Responses Re: Old source code needed  (Jan de Visser <jan@de-visser.net>)
List pgsql-general
On 11/27/2015 06:24 AM, Jan de Visser wrote:
>
>
> On 2015-11-27 4:31 AM, NTPT wrote:
>> Thanx for help,  I grab the source code  that match old cluster fs
>> backup.
>>
>> However: Should it run fine compiled  with recent gcc 4.9.3 ?
>
> You realize how old 9.0 is, right? And you understand how nonsensical
> your question is? How can you guarantee that code compiles properly on a
> compiler which is released years after you write the code?

To me nonsensical would be trying to compile newer code using an old
compiler. What the OP did seemed to be in the realm of possibility as I
would think backwards compatibility kicks in.

>
>>
>> while compiled with this gcc , I got a lot of strange errors like
>>
>> ERROR:  could not identify an ordering operator for type name at
>> character 3336
>> HINT:  Use an explicit ordering operator or modify the query.
>>
>> with \dt or \list  or other  commands and select
>>
>>
>> Hovever compiling it with gcc 3.4.6 and everythig works.
>>
>> Is it intended (expected) behavior or a compiller bug (Being on
>> Gentoo, compiller bug scary me a lot).
>>
>> thanx
>>
>
> jan
>
>


--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Jan de Visser
Date:
Subject: Re: Old source code needed
Next
From: Jan de Visser
Date:
Subject: Re: Old source code needed