Limits of ImportC? #14653
IngwiePhoenix
started this conversation in
General
Limits of ImportC?
#14653
Replies: 1 comment 1 reply
-
Have you tried compiling the C file with e.g. gcc, do you need to pass any special compiler options? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
I tried to compile a V program with the DMD compiler to see what would happen. Well, it actually almost compiled, which I think is pretty awesome!
For context: https://gist.github.com/IngwiePhoenix/d2336f3d2603f87cb0634b79cae7e607
Those few errors asside, what are the actual limitations of
importC
exactly?In an ideal situation, I'd just "import" my C dependencies from D. The V experiment was basically just "does it work?" calibre of fooling around. But I wondered what I should look out for :)
Thanks and kind regards,
Ingwie
Beta Was this translation helpful? Give feedback.
All reactions