pragma must be outside function
A pragma that must be specified at a global level (that is, outside a function body) occurred within a function.
The following is an example of this error:
main() { #pragma optimize( "l", on ) // error }