IT WORKS! Optimizationflags changed to 00