while compiling a C program with -O1 or greater flag, compiler is giving the error call to \'__open_missing_mode\' declared with attribute error: open wit
-O1
call to \'__open_missing_mode\' declared with attribute error: open wit