[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem using external functions with the same name as those in Gambas


Le 14/08/2025 à 15:57, vuott@xxxxxxxxxxxx a écrit :
Hello,

I noticed that, for example, this statement:

     Library "libc:6"

    Private Extern kill_C(pid AS Integer, sig AS Integer) As Integer Exec "kill"

gives the error:  "Unexpected Exec"

Itdidn'tgiveanerrorbefore(Idon'tknowwhenthisstartedhappening).

Infact,nowONLYthisstatementisaccepted:

    Private Extern kill_C(pid AS Integer, sig AS Integer) As Integer In "libc:6" Exec "kill"

Is this a deliberate change in Gambas ?

Regards
vuott


No, this is a compiler bug.

--
Benoît Minisini.


Follow-Ups:
Re: Problem using external functions with the same name as those in GambasBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>