Re: Problem with inline member functions

2012-02-07 Thread Jonathan Wakely
This mailing list is for discussing development *of* gcc, not help using it. Your question would be appropriate on the gcc-h...@gcc.gnu.org list, please take any follow-up there, thanks. On 7 February 2012 13:57, Alexandre Almeida wrote: > > It seems to be impossible to define an inline member fun

Problem with inline member functions

2012-02-07 Thread Alexandre Almeida
It seems to be impossible to define an inline member function externally with GCC. When attempting to do so, the linker returns an error. Here is how I attempted to do it: Header file: - class C { public:     void foo(); }; CPP file: - inline void C::foo() {     [..