我试图在发布模式下关闭C代码的优化,如:
FileWriter
但是
try {
File folder = new File("/temp/temp");
folder.mkdirs();
// then create a file object at this location
File file = new File(folder, contador + ".txt");
escritor = new FileWriter(file);
// the rest of your code
}
catch (Exception e) {
}
QMAKE_CFLAGS -= -O2
QMAKE_CFLAGS += -O0
未删除。