From: Hans-Bernhard Broeker Newsgroups: comp.os.msdos.djgpp Subject: Re: 'volatile' undeclared from here Date: 20 Apr 2000 10:12:17 GMT Organization: Aachen University of Technology (RWTH) Lines: 22 Message-ID: <8dml61$9co$1@nets3.rz.RWTH-Aachen.DE> References: <8dk3aa$m6a$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <9LgL4.1906$D21 DOT 3649551 AT nnrp4 DOT proxad DOT net> <8dkfaj$rk1$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <8dkh60$sjr$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de X-Trace: nets3.rz.RWTH-Aachen.DE 956225537 9624 137.226.32.75 (20 Apr 2000 10:12:17 GMT) X-Complaints-To: abuse AT rwth-aachen DOT de NNTP-Posting-Date: 20 Apr 2000 10:12:17 GMT Originator: broeker@ To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Alexandre Devaure wrote: >> Could you try and cut down the source to the absolute minimum that >> still reports that compiler error, and post the result? > This is the source code that reports the compiler error. It seems to be a > problem with the template in the class TValueFifo. When I comment out the > template declaration, the compiler accepts the source code. Well, seems I didn't quite make clear what we need to reproduce the bug. Your code uses header files, which you didn't show. We'll either need the fully preprocessed code ('gcc -E' output), or a copy of your used header files: > #include "ports.h" > #include -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.