core/irrt: build with -W=return-type
To help catch future C++ programming bugs
This commit is contained in:
parent
4948395ca2
commit
474e0ab809
|
@ -31,6 +31,7 @@ fn main() {
|
||||||
"-S",
|
"-S",
|
||||||
"-Wall",
|
"-Wall",
|
||||||
"-Wextra",
|
"-Wextra",
|
||||||
|
"-Werror=return-type",
|
||||||
"-o",
|
"-o",
|
||||||
"-",
|
"-",
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue