[Bug c++/19950] New: error: incomplete type `Environment' used in nested name specifier

ddonovan at latentzero dot com gcc-bugzilla@gcc.gnu.org
Mon Feb 14 16:11:00 GMT 2005


gcc -v:

Reading specs from /var/gnu/3.4.0/lib/gcc/sparc-sun-solaris2.8/3.4.0/specs
Configured with: ../gcc-3.4.0/configure --prefix=/var/gnu/3.4.0 --disable-nls --
enable-languages=c,c++
Thread model: posix
gcc version 3.4.0

command line:

gcc -save-temps -I../../src/dbserver/include -I../../src/shared/include -
I../../lib/LZApplication/bin -I../../lib/LZApplicationStateValues/bin -
I../../lib/LZDBAccess/bin -I../../lib/LZDBHelper/bin -
I../../lib/LZEncryption/bin -I../../lib/LZLog2/bin -I../../lib/LZMessaging/bin -
I../../lib/LZParser/bin -I../../lib/LZStateValue/bin -
I../../lib/LZStateValueClient/bin -I../../lib/LZThread/bin -
I../../lib/LZUtility/bin -DUNIX -DOLD_GRAMMAR -I../../src -
o ../../src/dbserver/Main.o -c ../../src/dbserver/Main.C

output:

In file included from ../../src/dbserver/include/Environment.h:9,
                 from ../../src/dbserver/include/Database.h:8,
                 from ../../src/dbserver/Main.C:6:
../../src/shared/include/Collections.h: In member function `int 
ArrayCollection<T>::insert(const T&)':
../../src/shared/include/Collections.h:115: error: incomplete type 
`Environment' used in nested name specifier
../../src/shared/include/Collections.h:124: error: incomplete type 
`Environment' used in nested name specifier
../../src/shared/include/Collections.h: In member function `int 
ArrayCollection<T>::rollback(const T*, int)':
../../src/shared/include/Collections.h:190: error: incomplete type 
`Environment' used in nested name specifier
../../src/shared/include/Collections.h:199: error: incomplete type 
`Environment' used in nested name specifier
make: *** [../../src/dbserver/Main.o] Error 1

preprocessed file:

don't know how to attach this, could you tell me how?

-- 
           Summary: error: incomplete type `Environment' used in nested name
                    specifier
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ddonovan at latentzero dot com
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list