[Bug c++/29485] missing diagnostic when declared inline
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-10-16 17:01 --- Actually all inlined functions for C++ are missing the diagnostic: inline int fii(int *other) { if(!other)return 0; } -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|missing diagnostic when |missing diagnostic when |declared inline in class|declared inline |declaration | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29485
[Bug c++/29485] missing diagnostic when declared inline
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-10-16 17:02 --- (In reply to comment #0) Interestingly, it works when declared outside the class itself, which makes me suspect that this is caused by some C++ parser oddity. Are you sure because I could reproduce the missing warning for all inline functions with the C++ front-end. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29485
[Bug c++/29485] missing diagnostic when declared inline
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-10-16 17:04 --- *** This bug has been marked as a duplicate of 21678 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||DUPLICATE http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29485