This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 10906] New: Thsi is additional information for bug no 10897


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: Thsi is additional information for bug no 10897
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: bangerth@apex68.ticam.utexas.edu
        ReportedBy: haj_leo@yahoo.com
                CC: gcc-bugs@gcc.gnu.org,haj_leo@yahoo.com

The code example which gives the error is
   #include<fstream.h>
   #include<ctype.h>
   #include<iostream.h>
   main()
   ...
The compiler gives parser errors and syntax errors for the following header
  "../g++-ver/stringfwd.h"
and points at the following line
   template <typename _ALLOC>
   ...

A look at the prevously enclosed "params.ii" file reveals that the typename 
which is typedefined previously in another file in the same directory "../g++-
ver" is not getting resolved to its typename and the template instantation 
looks like
   template< _ALLOC>
   ...

A run of tusc reveals that the file "stringfwd" is prev invoked by "iosfwd.H" 
which is previously invoked by "ios.h"

I will send a detailed snapshot of the code and the specific compiler errors 
tommorrow.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]