In a C project, in the global compiler options, put "-std=c11" in other compiler options, enable "-Wextra", compile your project, then disable Wextra and see if there are "-Wall and -g" options that you can't get rid of during compilation from that point on.
Using SVN 10640.