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]

c++/4813: "Internal compiler error" when using w32api



>Number:         4813
>Category:       c++
>Synopsis:       "Internal compiler error" when using w32api
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 06 21:06:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Geoff Hardy
>Release:        3.0.1
>Organization:
>Environment:
i686-pc-cygwin; Windows 2000 Professional.  I built gcc from the sources with cygwin 1.3.2 (cygwin1.dll build date: 2001-05-20 23:38)
>Description:
I tried building a simple program that uses the Microsoft Speech SDK.  The following error message was printed:

In file included from /usr/include/w32api/objbase.h:51,
                 from /usr/include/w32api/ole2.h:5,
                 from CTestNotifySink.h:6,
                 from sapitest.cpp:1:
/usr/include/w32api/unknwn.h:31: Internal compiler error in tree_low_cst, at tree.c:3462

>How-To-Repeat:
I isolated the problem to "unknwn.h" in the w32api directory, by simplifying my code further.  The attached file bug.cpp contains the original source code (which only includes windows.h) and the file bug.ii contains the preprocessed output.

I was also able to reproduce the problem easily by simply including file objbase.h or unknwn.h from w32api.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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