[Bug c++/26698] g++ accepts const-incorrect code due to conversion function

lopezibanez at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Sep 16 01:48:00 GMT 2006



------- Comment #3 from lopezibanez at gmail dot com  2006-09-16 01:48 -------
When using -Wconverson:

pr26698.cpp:24: warning: conversion to a reference to the same type will never
use a type conversion operator

Maybe this warning should be reported always?


-- 

lopezibanez at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lopezibanez at gmail dot com


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



More information about the Gcc-bugs mailing list