This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Good point. About it, we should also take into account the recent messages from Martin, pointing out that many C++ front-ends do not warn for signed -> unsigned.In the case of the containers, we are asserting/relying on the fact that the pointer difference is zero or positive. But this has become a widespread idiom: people write their own code in the STL style. If STL code now has to be fixed to silence warnings, so will a lot of user code.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |