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:
- "is not allowed using in-line assembly"
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.