[Bug c++/50519] -Wconversion false positive warning
ebrahim at mohammadi dot ir
gcc-bugzilla@gcc.gnu.org
Sun Sep 25 21:14:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50519
Ebrahim Mohammadi <ebrahim at mohammadi dot ir> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebrahim at mohammadi dot ir
--- Comment #1 from Ebrahim Mohammadi <ebrahim at mohammadi dot ir> 2011-09-25 20:56:17 UTC ---
Example compiling scenario:
$ g++ -Wconversion conversion-warning-false-positive.cpp -o /dev/null
conversion-warning-false-positive.cpp: In function ‘int main()’:
conversion-warning-false-positive.cpp:9:22: warning: conversion to ‘short int’
from ‘int’ may alter its value [-Wconversion]
More information about the Gcc-bugs
mailing list