There are problem-solving sites like topcoder.com, SPOJ. I'd like for similar use-case (people send me C++ program files) to do some restrictions.
One of those is:
How can I enforce such prohibition? Is there smarter way (like compiler flags? - but I haven't found any useful) than just searching phrases in source-code ?
I can restrict people to g++ or clang. Things are being done on Linux.
How about:
% gcc -Dasm=error -D__asm__=error
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With