Language
C++
Compiler
gcc 4.9.2
Options
Warnings
Don't Use Boost
C++14
no pedantic
$ g++ prog.cc -Wall -Wextra -std=c++14
True
Exit Code:
0
Author
anonymous
over 4 years ago
C++
gcc 4.9.2
Author
anonymous
over 4 years ago
$ g++ prog.cc -Wall -Wextra -std=c++14
prog.cc: In function 'int* fun(int*)':
prog.cc:13:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
p1 = CCERT((float*)n,a);
^
prog.cc:18:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
True