Re: C++ PATCH for c++/87519 - bogus warning with -Wsign-conversion

2019-08-08 Thread Jason Merrill
On 8/8/19 10:50 AM, Marek Polacek wrote: This PR complains about bogus -Wsign-conversion warning even with an explicit cast, which the documentation says should suppress the warning. Pretty similar to c++/86190 which I fixed here . The

C++ PATCH for c++/87519 - bogus warning with -Wsign-conversion

2019-08-08 Thread Marek Polacek
This PR complains about bogus -Wsign-conversion warning even with an explicit cast, which the documentation says should suppress the warning. Pretty similar to c++/86190 which I fixed here . The problem only happens when using a typedef,