On Thu, Mar 27, 2008 at 9:05 AM, Paul Floyd <paulf at free.fr> wrote:
> Does it have the same name as its implementation part? I.e., is there a foo.h 
> in
> the same directory as a foo.cpp, or similar? If so, try compiling with
> -no%extdef to prevent the compiler from automatically looking for template
> definitions.

Preventing duplicate inclusion of template definitions (if that is
indeed what is happening here) should be done via
#ifndef/#define/#endif guards, and not by means of introducing
potentially contradictory compiler flags which modify the expected
(and tested) behavior.

--Stefan

-- 
Stefan Teleman
KDE e.V.
stefan.teleman at gmail.com

Reply via email to