« Return to Thread: gcc STL issue

Re: gcc STL issue

by Dima Rusyy :: Rate this Message:

Reply to Author | View in Thread

I can't do it. This files includes many headers to be build.  

But, this file  includes compat.h header (compat.h).
I found that problem disappears when I comment  line that includes "list" header in compat.h and add "#include <list>" before including compat.h it in file.C.

Strange thing that I don't get any errors pointing to my files.

Benjamin Kosnik wrote:
> g++ -c -g ...<file>.C
Please include file.C
-benjamin

 « Return to Thread: gcc STL issue