[fpc-devel] Should the compiler work, if compiled with -Cr?
Michael Van Canneyt
michael at freepascal.org
Sun May 5 10:25:09 CEST 2013
On Sun, 5 May 2013, Florian Klämpfl wrote:
> Am 05.05.2013 09:56, schrieb Michael Van Canneyt:
>>
>>
>> On Sun, 5 May 2013, Bruce Tulloch wrote:
>>
>>> FWIW, I ran into this problem trying to use the RTL from the FPC 2.6.2
>>> release branch when built with -Cr. Attached is a patch that
>>> works around the problematic code (in sockets.inc).
>>>
>>> It does not fix the underlying problem (type mismatch upon invocation
>>> of ntohl() and friends) but it does allow the RTL to be built
>>> and used with -Cr (without it, the RTL generates ERangeError).
>>>
>>> I presume it's the intention that the RTL and packages build and run
>>> with -Cr, right?
>>
>> No. I would not put my money on that.
>
> Nevertheless it should.
Compiler, rtl: maybe.
But packages ? With all the C imports, DB access routines ?
I seriously doubt that.
Michael.
More information about the fpc-devel
mailing list