Tracking Instantiations

David Greene greened@eecs.umich.edu
Sun Jan 25 10:32:00 GMT 1998


Is there a way to track which piece of source code is 
responsible for a particular template instantiation?  I'm 
getting type errors on some instantiations, but the errors 
are reported in STL code (they reference stl_ago.h:79, for
example).  I've no idea where in my code the type error is.  
All I know is which .cc was was being compiled.  I don't know 
which of my header files is causing the problem.  How can I 
find out?

                                    -Dave




More information about the Gcc mailing list