[Gambas-user] External C function usage error - IPC queue usage

T Lee Davidson t.lee.davidson at gmail.com
Tue Jan 23 00:48:55 CET 2018


On 01/22/2018 06:33 PM, Benoît Minisini wrote:
> Le 22/01/2018 à 22:52, T Lee Davidson a écrit :
>> On 01/22/2018 04:50 PM, Tobias Boege wrote:
>>> According to the source code [1], the obvious "&o" prefix is supposed to
>>> work but it doesn't compile here due to "Unexpected &". Probably a bug.
>>>
>>> Regards,
>>> Tobi
>>>
>>> [1] https://gitlab.com/gambas/gambas/blob/master/main/gbc/gbc_trans.c#L281
>>>
>>> -- "There's an old saying: Don't change anything... ever!" -- Mr. Monk
>>
>> Yes. I tried that. The IDE automatically reformats '&o0600' to '& o0600'.
>>
>>
> 
> It works there. There is no reformating. Do you use the development version?
> 

No, Benoît, I am using v3.10.

If I type in a number prepended with '&o' and move to another line, the ampersand gets automatically separated. I also tried
modifying the src with an external editor and compiling with gbc3. It still chokes.


-- 
Lee

[System]
Gambas=3.10
OperatingSystem=Linux
Kernel=4.4.104-39-default
Architecture=x86_64
Distribution=SuSE NAME="openSUSE Leap"
VERSION="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
Desktop=KDE5


More information about the User mailing list