It turns out that I am using the Posyx and GLib namespaces, but when I want to print a message on the screen, for example:
stdout.printf("mensaje");
I get the following error:
error: `stderr' is an ambiguous reference between `GLib.stderr' and `Posix.stderr'
I have read that I have to use aliases to solve the problem, but I still don't know how to apply it so that it doesn't keep throwing errors.
The problem is not that you have to use an alias, but that both namespaces have their own method
stdout.printf
referencing it from the Glib namespace in order to print a message to the screen:You can also use it from the namespace of
posix
: