[Bug c++/17947] bad warning with implicit conversion and __attribute__((deprecated))
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Tue Oct 12 16:14:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-10-12 16:14 -------
Yes, me too. What a funny message :-)
BTW, this is how the bug evolved over time:
g/x> /home/bangerth/bin/gcc-4.0-pre/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:9: warning: 'operator 1' is deprecated (declared at x.cc:3)
g/x> /home/bangerth/bin/gcc-3.4*/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:9: warning: `operator 1' is deprecated (declared at x.cc:3)
g/x> /home/bangerth/bin/gcc-3.3*/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:9: warning: `operator 1' is deprecated (declared at x.cc:3)
g/x> /home/bangerth/bin/gcc-3.2*/bin/c++ -c x.cc
x.cc: In function `int main()':
x.cc:9: warning: `operator i' is deprecated (declared at x.cc:3)
g/x> /home/bangerth/bin/gcc-2*/bin/c++ -c x.cc
x.cc:3: warning: `deprecated' attribute directive ignored
I.e., something changed between 3.2 and 3.3, but it didn't become better
or worse.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17947
More information about the Gcc-bugs
mailing list