[Bug c++/1920] no warning with passing cast-as-lvalue as an argument
pinskia@physics.uc.edu
gcc-bugzilla@gcc.gnu.org
Fri May 23 04:37:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1920
------- Additional Comments From pinskia@physics.uc.edu 2003-05-23 04:04 -------
This has been fixed for c++ for 3.4.
The reduced testcase has errors now:
pr1920.cc: In function `int main()':
pr1920.cc:9: error: could not convert `a' to `unsigned int&'
pr1920.cc:3: error: in passing argument 1 of `void foo(unsigned int&)'
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Gcc-bugs
mailing list