[m-users.] Change in compiler behaviour for 22.01.8 ? Pointer type strictness increased?

Volker Wysk post at volker-wysk.de
Sat Apr 27 13:19:54 AEST 2024


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


More information about the users mailing list