yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #10425
Re: Make Law2's return bool?
Hi Jerome,
2014-01-29 Jérôme Duriez <jerome.duriez@xxxxxxxxxxxxxxx>:
>They could instead also forget to define the return value...
> (apparently this would not return a compiling error, isn't it ?)
we are using relatively strict compiler-settings [1], so it should
return an error, or at least a warning, especially clang. But I
did not check.
[1] https://github.com/yade/trunk/blob/master/CMakeLists.txt#L81
Anton
Follow ups
References