------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-03-17 
10:28 -------
>       Perhahs, I have a concept problem. If you have a c++ template in a ".h" 
> file without a ".c" file and you compile it you should obtain a .o object.

No, you're forcing the compilation with -x c++.  Try without -x and see what the
3.2.3 compiler says.

The bottom line is that you should never compile a header file, except if you
want to get the corresponding PCH file.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20315

Reply via email to