This is the mail archive of the gcc-bugs@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]

[Bug c++/12697] Redundant duplicate error message


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12697



------- Additional Comments From igodard at pacbell dot net  2003-10-21 01:06 -------
The reduced test case shows two messages which are not actually the same: one cites (int, int) vs. (signed char, signed char), the other cites (int, int) vs. (unsigned char, unsigned char). Arguably these are both usefull because one of the args is signed char and one is unsigned char (well, maybe not very useful :-). 

However. the original report show *three* messages, two of which are *identical*. May I suggest that you revert to the original test, or find a new reduction showing actual duplicate messages. BTW, I think the third (duplicate) message requires that the unused (short, short) overload be present; it seems to go away if that overload is removed, as in the reduced case from bangaerth.

Ivan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]