This is a discussion on compiler warnings on the buildfarm within the pgsql Hackers forums, part of the PostgreSQL category; --> Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes: > E_FUNC_HAS_NO_RETURN_STMT is there because main is leaved by exit() instead > return. And In ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes: > E_FUNC_HAS_NO_RETURN_STMT is there because main is leaved by exit() instead > return. And In another case It should be regular warning. That should be gone now; I changed the two places that triggered it. I'd suggest not disabling that warning. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match |
| |||
| Tom Lane napsal(a): > Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes: >> E_FUNC_HAS_NO_RETURN_STMT is there because main is leaved by exit() instead >> return. And In another case It should be regular warning. > > That should be gone now; I changed the two places that triggered it. > I'd suggest not disabling that warning. Yes I agree. Did you also clean up on old branches? If not I think we can live with this warning on old branches. Zdenek ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |
| ||||
| Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes: > Tom Lane napsal(a): >> That should be gone now; I changed the two places that triggered it. >> I'd suggest not disabling that warning. > Yes I agree. Did you also clean up on old branches? No, I'm not interested in doing that kind of fiddling on old branches. I think we only care about warnings in HEAD. (Unless an actual bug is exposed, of course, in which case we'd back-patch the fix as appropriate.) regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly |