[Ohrrpgce] early_debuginfo

Ralph Versteegen teeemcee at gmail.com
Sat Sep 4 08:01:01 PDT 2021


On Sat, 4 Sept 2021 at 20:34, Ralph Versteegen <teeemcee at gmail.com> wrote:

> Oh, yes, that "Illegal parameter specification" error is confusingly
> printed when there's a cdecl/stdcall calling convention difference between
> two places a function is declared/defined. I've been meaning to submit a
> patch for that.
>
Oh, someone already fixed that message in recent FB versions. Oh, turns out
it was me... back in 2017.


> Those errors only happen on Windows because stdcall is the default in FB
> (and Windows) but not C, while there's no difference on Unix.
>
> On Sat, 4 Sept 2021 at 14:33, James Paige <Bob at hamsterrepublic.com> wrote:
>
>> Oh, I see, it must have been  r12334
>>
>>   Fix ?_debug_archive.txt getting spammed with "setup_exception_handler"
>>> on Unix
>>>
>>>   It was always appended to the log regardless of whether there was a
>>> ?_debug.txt
>>>   file to archive.
>>>
>>
>> I can see that it changes the definition of early_debuginfo to be extern
>> C. I guess that is what broke on the Windows builds.
>>
>>
>> On Fri, Sep 3, 2021 at 8:12 PM James Paige <Bob at hamsterrepublic.com>
>> wrote:
>>
>>> I am puzzled. The Windows nightly builds show multiple failures on:
>>>
>>> *common_base.bas(28) error 40: Illegal parameter specification in 'SUB
>>> early_debuginfo (msg as const zstring ptr)'*
>>>
>>> But none of the lines that define or use early_debuginfo have been
>>> toiuched since like 2019. I wonder why it started failing recently?
>>>
>>> ---
>>> James
>>>
>> _______________________________________________
>> 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/20210905/02e5bded/attachment.html>


More information about the Ohrrpgce mailing list