lpcware

The compiler option of O0, O1, O2, Os in Debug mode

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Mar 23, 2017 by Carl Norman
Content originally posted in LPCWare by shiggy on Fri Jan 17 00:49:25 MST 2014
Hi All!

I ask you about compiler option of O0, O1, O2, Os in Debug mode.
The usage of bellow is OK?
The bellow sample is one file.

//===============================
#pragma O3
void subroutine1(){

}
#pragma O1
void subroutine2(){

}


//end of file

Shiggy

Outcomes