[Bug c++/59248] [4.8 regression] pointless -Wconversion warning with sizeof, take 2

jens.maurer at gmx dot net gcc-bugzilla@gcc.gnu.org
Fri Nov 22 21:21:00 GMT 2013


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

--- Comment #2 from Jens Maurer <jens.maurer at gmx dot net> ---
This one:

$ cat ~/x.cc 
int main()
{
  int x = 2*sizeof(int);
  int y { 2* sizeof(int) };
}


(sorry, forgot to attach earlier)



More information about the Gcc-bugs mailing list