Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$ voc -M hello.Mod
GNU x86_64 target
not using voc.par file
hello.Mod translating hello main program 277
hello.c:11:8: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
export main(int argc, char **argv)
^~~~
1 warning generated.
clang hello.c -static -o hello -fPIC -g -I /opt/voc-1.0/src/lib/system/freebsd/clang/x86_64 -I /opt/voc-1.0/lib/voc/obj -lVishapOberon -L. -L/opt/voc-1.0/lib
hello.c:11:8: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
export main(int argc, char **argv)
^~~~
1 warning generated.
MODULE hello;
IMPORT Out := Console;
BEGIN Out.String("hello world"); Out.Ln;
END hello.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.