[Ohrrpgce] SVN: teeemcee/11520 Lots of testcases for renamefile while other programs are interfering

Ralph Versteegen teeemcee at gmail.com
Sun Dec 29 15:39:19 PST 2019


The problem here is our redefinition of 'integer' to be always 32-bit.
We're meant to use the use_native_integer()/use_32bit_integer() macros
before/after including external include files, but we usually don't
actually, and we get away with it because 'integer' appears very rarely in
the include files FB provides.

On Mon, 30 Dec 2019 at 12:28, Ralph Versteegen <teeemcee at gmail.com> wrote:

> Ah, I see that this is a compile error on x86_64 only. I never thought to
> test 64-bit... I have builds defaulting to 32-bit on my machine, because
> they go much faster.
>
> On Mon, 30 Dec 2019 at 04:01, James Paige <Bob at hamsterrepublic.com> wrote:
>
>> When I run scons test on the latest wip, I get:
>>
>> fbc -c filetest_helper.bas -o build/filetest_helper.o -m filetest_helper
>> -mt -g -exx -O 2 -target linux -arch x86_64 -gen gcc -Wc
>> -fno-omit-frame-pointer,-no-pie,-Wno-maybe-uninitialized,-Wno-array-bounds,-Wno-missing-braces
>> filetest_helper.bas(74) error 28: Expected pointer, before ')' in
>> 'fflush(cast(FILE Ptr, FileAttr(fh, fbFileAttrHandle)))'
>> scons: *** [build/filetest_helper.o] Error 1
>> scons: building terminated because of errors.
>>
>> I am on fbc version 1.05 if that is relevant
>>
>> james at syenite:~/src/ohrrpgce$ fbc -version
>> FreeBASIC Compiler - Version 1.05.0 (01-31-2016), built for linux-x86_64
>> (64bit)
>> Copyright (C) 2004-2016 The FreeBASIC development team.
>>
>>
>> On Sat, Dec 28, 2019 at 9:38 PM <subversion at hamsterrepublic.com> wrote:
>>
>>> teeemcee
>>> 2019-12-28 18:38:35 -0800 (Sat, 28 Dec 2019)
>>> 100
>>> Lots of testcases for renamefile while other programs are interfering
>>>
>>> Added filetest_helper program
>>> ---
>>> U   wip/SConscript
>>> U   wip/filetest.bas
>>> A   wip/filetest_helper.bas
>>> U   wip/miscc.c
>>> _______________________________________________
>>> Ohrrpgce mailing list
>>> ohrrpgce at lists.motherhamster.org
>>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>>
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20191230/b5dc6c8a/attachment.html>


More information about the Ohrrpgce mailing list