A.cpp: In function ‘float sr(float)’:
A.cpp:3:32: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
int i=0x5f3759df-((*(int*)&y)>>1);
^
A.cpp:5:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
y=*(float*)&i;
^
A.cpp: At global scope:
A.cpp:20:67: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"cx" "94mde^4ai26#4c!23H3f<edj39k32jf7i44rdc a1<8e&9c%";
^
A.cpp:22:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"FG" "HJKLasdfghjklZXCVBNMzxcvbnm,./<>?{}[]+=";
^
A.cpp:24:62: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"9u" "07o5f^10u65Q09R5b%c5%a3!c2I6dzbdZ";
^
A.cpp:25:18: error: ISO C++ forbids declaration of ‘pr’ with no type [-fpermissive]
pr(char *t,int *k) {
^
A.cpp: In function ‘int pr(char*, int*)’:
A.cpp:28:25: error: ‘sscanf’ was not declared in this scope
sscanf(t,"%x",&c);
^
A.cpp:35:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
A.cpp: At global scope:
A.cpp:37:51: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"e9w39Xfev" "32V37Hf9g39m07Z2f[08p40qf0v47*09W2dG37s1aI48hebX55ge2h83R9fx90&9ag";//
^
A.cpp:39:11: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"83Sadkb1I81gb0h98q8a<b1$7e@acn";
^
A.cpp:40:6: error: ISO C++ forbids declaration of ‘half’ with no type [-fpermissive]
half() {
^
A.cpp: In function ‘int half()’:
A.cpp:61:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
A.cpp: At global scope:
A.cpp:62:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main() {
^
A.cpp: In function ‘int main()’:
A.cpp:68:18: error: ‘puts’ was not declared in this scope
return puts(p);
^