Thanks for your bug report. gcc-2.95.2 says a.cc:8: `Fun' is not a namespace a.cc: In function `int main()': a.cc:13: implicit declaration of function `int disp(...)' so the bug has been fixed. Regards, Martin