Re: [m-users.] Change in compiler behaviour for 22.01.8 ? Pointer type strictness increased?
"Sean Charles (emacstheviking)" <[email protected]> Sat, 27 Apr 2024 08:42:07 +0100
| Newsgroups | gmane.comp.lang.mercury.general |
|---|---|
| Message-ID | <[email protected]> |
Nope. > On 27 Apr 2024, at 04:19, Volker Wysk <[email protected]> wrote: > > Am Freitag, dem 26.04.2024 um 21:55 +0100 schrieb Sean Charles > (emacstheviking): >> This used to compiler: >> >> :- pragma foreign_type("C", rsound, "MR_Integer", >> [can_pass_as_mercury_type]). > > Change that to: > > :- pragma foreign_type("C", rsound, "char *",[can_pass_as_mercury_type]). > > Or: > > :- pragma foreign_type("C", rsound, "void *",[can_pass_as_mercury_type]). > > ? > > Volker > _______________________________________________ > users mailing list > [email protected] > https://lists.mercurylang.org/listinfo/users _______________________________________________ users mailing list [email protected] https://lists.mercurylang.org/listinfo/users