Explicit error CLion
So, this is like nth time it happens something is wrong and it can be as simple as I declared a function to return a string and I forgot to return. And CLion instead of giving me a big fat error that I can work with, it just spits out a pretty error 4, seriously, what am I supposed to do with that. Give me something to work with pretty, is not it. It tells me nothing. I spent hours finding something super simple because this super sophisticated software made it to nice for me to find, it, Is there something in the settings that I can tell CLion to be explicit when there is an error?
请先登录再写评论。
@Vinnyasa what compiler do you use? Where do you see the error: in the Editor or in the Messages tool window? Please provide the screenshot of the error.
What CLion version do you use?
Using clang as a compiler for the case described by you ("declared a function to return a string and I forgot to return") I got the informative message: