[Bug c++/29485] missing diagnostic when declared inline

2006-10-16 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug c++/29485] missing diagnostic when declared inline

2006-10-16 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug c++/29485] missing diagnostic when declared inline

2006-10-16 Thread pinskia at gcc dot gnu dot org
--- 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