webassembly
webassembly copied to clipboard
How to force a standard for compilation?
What can I do if I need to force a standard to compile the c code to webassembly? I'm trying to compile it with the C90 Ansi standard, and I have no clues about the one used by the compiler of this module
The only solution I found so far is to try to compile the code with the "gcc" compiler and see if anything goes wrong, then if everything is ok I recompile it to webassembly.
To be clear, the command I'm using to compile the code with gcc is:
gcc -ansi -pedantic main.c -Wall