Re: Bug in g++ 4.1.2 when using inline function definied in cpp file but declared in h file

2007-03-22 Thread Jim Wilson
We don't track bugs reported via email. If you want to make sure you get an answer, use the bugzilla database instead. This doesn't seem to be a gcc bug though. In C++, the inline keyword is similar to what static inline means in GNU C, i.e. only emit the function if it is used. Since

Bug in g++ 4.1.2 when using inline function definied in cpp file but declared in h file

2007-03-21 Thread Bartosz Wadolowski
hi i found bug in g++ 4.1.2 - version included with new kubuntu fiesty. to reproduce this bug i've created 3 simple files a.h, a.cpp and main.cpp //a.h #ifndef A_H #define A_H class A{ public: void b(int c); private: int d; }; #endif //a.cpp #include a.h inline void A::b(int c) {