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]

problem compiling templates /i'm not sure whether it is known bug/


I'm using mingw32 based on GCC 3.2. Here is the output from the 
compiler: 

[c:\temp]g++ -v gcc32_test.cpp
Reading specs from c:/mingw/bin/../lib/gcc-lib/mingw32/3.2/specs
Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-
as --host= mingw32 --target=mingw32 --prefix=/mingw --enable-threads --
disable-nls --enable -languages=f77,c++,objc,ada --disable-win32-
registry --disable-shared Thread model: win32
gcc version 3.2 (mingw special 20020817-1)
 c:\mingw\bin\..\lib\gcc-lib\mingw32\3.2\cc1plus.exe -v -iprefix 
 c:\mingw\bin/.. 
/lib/gcc-lib/mingw32/3.2/ -D__GNUC__=3 -D__GNUC_MINOR__=2 -
D__GNUC_PATCHLEVEL__= 0 -D__GXX_ABI_VERSION=102 -D_WIN32 -D__WIN32 -
D__WIN32__ -DWIN32 -D__MINGW32__ - D__MSVCRT__ -DWINNT -D_X86_=1 -
D_WIN32 -D__WIN32 -D__WIN32__ -D__WIN32__ -D__MIN GW32__ -D__MSVCRT__ -
D__WINNT__ -D_X86_=1 -D__WIN32 -D__WINNT -Asystem=winnt -D_ 
_NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -
D__i386 -D__i 386__ -D__tune_i586__ -D__tune_pentium__ -
D__stdcall=__attribute__((__stdcall__) ) -
D__cdecl=__attribute__((__cdecl__)) -
D__fastcall=__attribute__((__fastcall__) ) -
D_stdcall=__attribute__((__stdcall__)) -
D_cdecl=__attribute__((__cdecl__)) -D 
_fastcall=__attribute__((__fastcall__)) -
D__declspec(x)=__attribute__((x)) gcc32 _test.cpp -D__GNUG__=3 -
D__DEPRECATED -D__EXCEPTIONS -quiet -dumpbase gcc32_test .cpp -version -
o C:\DOCUME~1\STORML~1\LOCALS~1\Temp/ccszaaaa.s GNU CPP version 3.2 
(mingw special 20020817-1) (cpplib) (80386, BSD syntax) GNU C++ version 
3.2 (mingw special 20020817-1) (mingw32) 
        compiled by GNU C version 3.2.
ignoring nonexistent directory "c:/mingw/mingw32/include"
ignoring nonexistent directory "/mingw/mingw32/include"
ignoring nonexistent directory "/usr/local/mingw32/include"
#include "..." search starts here:
#include <...> search starts here:
 c:/mingw/include/c++/3.2
 c:/mingw/include/c++/3.2/mingw32
 c:/mingw/include/c++/3.2/backward
 c:/mingw/include
 c:/mingw/lib/gcc-lib/mingw32/3.2/include
 /mingw/include/c++/3.2
 /mingw/include/c++/3.2/mingw32
 /mingw/include/c++/3.2/backward
 /mingw/include
 /mingw/include
 /mingw/lib/gcc-lib/mingw32/3.2/include
End of search list.
gcc32_test.cpp:5: `CSprite::data_gen' is not a type, use `typename
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

The source code which triggers the problem is attached.

Attachment: gcc32_test.cpp
Description: Text document


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