[fpc-devel] FPC 2.7.1 - variant.inc(82, 10) Error: Illegal type conversion: "Text" to "TextRec"
Marcos Douglas
md at delfire.net
Wed Jul 25 18:10:54 CEST 2012
On Wed, Jul 25, 2012 at 12:39 PM, Sven Barth
<pascaldragon at googlemail.com> wrote:
> Am 25.07.2012 17:19, schrieb Marcos Douglas:
>
>> On Wed, Jul 25, 2012 at 11:55 AM, Sven Barth
>> <pascaldragon at googlemail.com> wrote:
>>>
>>> Am 25.07.2012 16:48, schrieb Marcos Douglas:
>>>
>>>> On Wed, Jul 25, 2012 at 11:39 AM, Sven Barth
>>>> <pascaldragon at googlemail.com> wrote:
>>>>>
>>>>>
>>>>>
>>>>> Am 25.07.2012 16:10, schrieb Marcos Douglas:
>>>>>
>>>>>> On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth<fpc at erfurth.eu>
>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 25.07.12 15:35, Marcos Douglas wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de
>>>>>>>> Voort<marcov at stack.nl>
>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> In our previous episode, Marcos Douglas said:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I would like to report some errors when I tried to compile the FPC
>>>>>>>>>> 2.7.1 at revision 21969 (I am using Windows).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> First step in bootstrapping problems, did you check that you
>>>>>>>>> started
>>>>>>>>> with
>>>>>>>>> the last release as starting compiler?
>>>>>>>>>
>>>>>>>>>> [...]
>>>>>>>>>> make[6]: Entering directory
>>>>>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl'
>>>>>>>>>> make -C win32 all
>>>>>>>>>> make[7]: Entering directory
>>>>>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32'
>>>>>>>>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p
>>>>>>>>>> W:/md/dev/freepasca
>>>>>>>>>> l/compiler/2.7.1/rtl/units/i386-win32
>>>>>>>>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n
>>>>>>>>>> -Fi../inc
>>>>>>>>>> -Fi../i386
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Well, I tried using a ppc386 compiled in 07/18/2012.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> The last release was 2.6.0 and it's currently the only supported
>>>>>>> release
>>>>>>> as a bootstrap compiler. FPK recently added a patch to trunk which
>>>>>>> will
>>>>>>> break the build unless ppc1 is build with 2.6.0.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi Nico,
>>>>>>
>>>>>> The mode to compile a new version of compiler will be changed?
>>>>>> Where can I get more information about it?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Nothing changes... ppc1 is one of the intermediate compilers (the first
>>>>> one) that is build when building trunk. You just need to make sure that
>>>>> you
>>>>> use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released
>>>>> that
>>>>> will be the newest supported version to compile trunk.
>>>>
>>>>
>>>>
>>>> But _right now_ the 2.6.0 does not compile the trunk, I got the same
>>>> errors...
>>>> Or I didn't understand what you mean, sorry.
>>>
>>>
>>>
>>> You didn't write that you used 2.6.0. In fact your mail above (with
>>> Jonas'
>>> arrows below) suggests that you used a 2.7.1 compiler.
>>
>>
>> First I tried 2.7.1 but after read your mail, I tried to compile using
>> 2.6.1 but got the same errors... and Jonas (always!) said to use the
>> last version of trunik, ie, 2.7.1 version, not 2.6.0 or 2.6.1.
>
>
> No, Jonas always said to use the latest release version. The latest released
> version is 2.6.0 and NOT 2.6.1. 2.6.1 is the latest fixes version and not
> officially supported to compile 2.7.1. Only 2.6.0 is currently officially
> supported to compile 2.7.1.
Oh Lord! I understood wrong... sorry my English. =((((
You're right (and Jonas, of course), compiled!
My apologies... I always thought that FPC 2.6.1 had ONLY fixes
(memleak, compile errors, etc) but no, some changes in this branch
broke the 2.7.1 compilation.
Well, at least now I know -- after many mails, Jonas nervous, etc --
and I will not not make this mistake again (I will try Jonas,
promisse!)
That is more simpler that I imagined.... argh!
Thanks,
Marcos Douglas
More information about the fpc-devel
mailing list