just so you know i've done this :

...
...
...
protected:
  WAVE* find_wave(const std::string& probe_name)const;
};
ABAS pa;
DISPATCHER<FUNCTION>::INSTALL d(&function_dispatcher, abc, &pa);

instead of :

...
...
...
protected:
  WAVE* find_wave(const std::string& probe_name)const;
}pa;
DISPATCHER<FUNCTION>::INSTALL d(&function_dispatcher, abc, &pa);

and i get new warnings/errors :

PATH\u_function.h:30: warning: 'class FUNCTION' has virtual functions and accessible non-virtual destructor PATH\fake_function.cpp:12: warning: 'class ABAS' has virtual functions and accessible non-virtual destructor
PATH\fake_function.cpp:14: warning: unused parameter 'Cmd'

In file included from PATH\globals.h:24,
                 from PATH\fake_function.cpp:6:
PATH\l_dispatcher.h: In instantiation of 'DISPATCHER<FUNCTION>::INSTALL':
PATH\fake_function.cpp:23:   instantiated from here
PATH\l_dispatcher.h:171: warning: 'class DISPATCHER<FUNCTION>::INSTALL' has pointer data members PATH\l_dispatcher.h:171: warning: but does not override 'DISPATCHER<FUNCTION>::INSTALL(const DISPATCHER<FUNCTION>::INSTALL&)' PATH\l_dispatcher.h:171: warning: or 'operator=(const DISPATCHER<FUNCTION>::INSTALL&)'

does it make sens to you ? if yes would you be able to explain this to me ?
u sure i have to use this install ?

and still have :

Linking dynamic library: bin\Release\tb.dll
obj\Release\fake_function.o:fake_function.cpp:(.text+0x32c): undefined reference to `function_dispatcher' obj\Release\fake_function.o:fake_function.cpp:(.text+0x369): undefined reference to `function_dispatcher' obj\Release\fake_function.o:fake_function.cpp:(.text+0x429): undefined reference to `function_dispatcher' obj\Release\fake_function.o:fake_function.cpp:(.text+0x57f): undefined reference to `error(int, std::string const&)'
...
...
...

Thanks :)

_______________________________________________
Help-gnucap mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-gnucap

Reply via email to