Hello, I have been unable to compile the library. I've tried with GCC 3.4.4 and GCC 4.0.2. I get this error message: BinaryStream.cc:105: warning: specialization of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' in different namespace BinaryStream.hh:136: warning: from definition of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' BinaryStream.cc: In member function 'bool Core::BinaryOutputStream::write(const T*, std::streamsize) [with T = bool]': BinaryStream.cc:105: internal compiler error: in comptypes, at cp/typeck.c:942 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. If I comment out those errors, I still get this: Parameter.cc:174: warning: extra ';' Parameter.cc:179: error: expected unqualified-id before ';' token Parameter.cc:180: error: expected unqualified-id before ';' token Parameter.cc:181: error: expected unqualified-id before ';' token Parameter.cc:182: error: expected unqualified-id before ';' token Parameter.cc:183: error: expected unqualified-id before ';' token Parameter.cc:184: error: expected unqualified-id before ';' token Parameter.cc:185: error: expected unqualified-id before ';' token Parameter.cc:187: error: expected unqualified-id before ';' token Parameter.cc:188: error: expected unqualified-id before ';' token Parameter.cc:189: error: expected unqualified-id before ';' token
From my understanding of the internal compiler error in the first error, is that it has so to do with the type checker failing when it tries to compare two types. It seems that both these errors have to do with template specilization.
Any suggestions on what I can do to compile the code? Should I downgrade GCC to 3.2 (which is what you quote in the README)? -krish -- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
Try replacing BinaryStream.cc:105 bool BinaryOutputStream::write(const bool *v, std::streamsize n) { with bool Core::BinaryOutputStream::write(const bool *v, std::streamsize n) { That is, explicitly specify the namespace. That's the only change I had to make to get it to compile and run properly. Roy On 2/14/06, Krishna M. Roskin <krish@soe.ucsc.edu> wrote:
Hello,
I have been unable to compile the library. I've tried with GCC 3.4.4 and GCC 4.0.2. I get this error message:
BinaryStream.cc:105: warning: specialization of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' in different namespace BinaryStream.hh:136: warning: from definition of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' BinaryStream.cc: In member function 'bool Core::BinaryOutputStream::write(const T*, std::streamsize) [with T = bool]': BinaryStream.cc:105: internal compiler error: in comptypes, at cp/typeck.c:942 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
If I comment out those errors, I still get this:
Parameter.cc:174: warning: extra ';' Parameter.cc:179: error: expected unqualified-id before ';' token Parameter.cc:180: error: expected unqualified-id before ';' token Parameter.cc:181: error: expected unqualified-id before ';' token Parameter.cc:182: error: expected unqualified-id before ';' token Parameter.cc:183: error: expected unqualified-id before ';' token Parameter.cc:184: error: expected unqualified-id before ';' token Parameter.cc:185: error: expected unqualified-id before ';' token Parameter.cc:187: error: expected unqualified-id before ';' token Parameter.cc:188: error: expected unqualified-id before ';' token Parameter.cc:189: error: expected unqualified-id before ';' token
From my understanding of the internal compiler error in the first error, is that it has so to do with the type checker failing when it tries to compare two types. It seems that both these errors have to do with template specilization.
Any suggestions on what I can do to compile the code? Should I downgrade GCC to 3.2 (which is what you quote in the README)?
-krish
-- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
_______________________________________________ fsa mailing list fsa@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/fsa
On Wed, 15 Feb 2006, Roy Tromble wrote:
Try replacing BinaryStream.cc:105 bool BinaryOutputStream::write(const bool *v, std::streamsize n) { with bool Core::BinaryOutputStream::write(const bool *v, std::streamsize n) {
That is, explicitly specify the namespace. That's the only change I had to make to get it to compile and run properly.
In the version of the library I downloaded (0.9.4), BinaryStream.cc:105 already has the Core:: prefix. I did change the using namespace Core; at the top of the file to namespace Core { with a coresponding } at the end of the file. That seems to take care of the first set of errors (I even removed the Core::), But I still get the ones in Parameter.cc. Working on that next. -krish
On 2/14/06, Krishna M. Roskin <krish@soe.ucsc.edu> wrote:
Hello,
I have been unable to compile the library. I've tried with GCC 3.4.4 and GCC 4.0.2. I get this error message:
BinaryStream.cc:105: warning: specialization of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' in different namespace BinaryStream.hh:136: warning: from definition of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' BinaryStream.cc: In member function 'bool Core::BinaryOutputStream::write(const T*, std::streamsize) [with T = bool]': BinaryStream.cc:105: internal compiler error: in comptypes, at cp/typeck.c:942 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
If I comment out those errors, I still get this:
Parameter.cc:174: warning: extra ';' Parameter.cc:179: error: expected unqualified-id before ';' token Parameter.cc:180: error: expected unqualified-id before ';' token Parameter.cc:181: error: expected unqualified-id before ';' token Parameter.cc:182: error: expected unqualified-id before ';' token Parameter.cc:183: error: expected unqualified-id before ';' token Parameter.cc:184: error: expected unqualified-id before ';' token Parameter.cc:185: error: expected unqualified-id before ';' token Parameter.cc:187: error: expected unqualified-id before ';' token Parameter.cc:188: error: expected unqualified-id before ';' token Parameter.cc:189: error: expected unqualified-id before ';' token
From my understanding of the internal compiler error in the first error, is that it has so to do with the type checker failing when it tries to compare two types. It seems that both these errors have to do with template specilization.
Any suggestions on what I can do to compile the code? Should I downgrade GCC to 3.2 (which is what you quote in the README)?
-krish
-- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
_______________________________________________ fsa mailing list fsa@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/fsa
-- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
Hi, we have fixed that bug and many more in a new upcoming release already. Unfortunately, I can't give you details on a release date at the moment. But it should be rather soon. Stephan On Feb 14, 2006, at 22:31 Uhr, Krishna M. Roskin wrote:
Hello,
I have been unable to compile the library. I've tried with GCC 3.4.4 and GCC 4.0.2. I get this error message:
BinaryStream.cc:105: warning: specialization of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' in different namespace BinaryStream.hh:136: warning: from definition of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' BinaryStream.cc: In member function 'bool Core::BinaryOutputStream::write(const T*, std::streamsize) [with T = bool]': BinaryStream.cc:105: internal compiler error: in comptypes, at cp/ typeck.c:942 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
If I comment out those errors, I still get this:
Parameter.cc:174: warning: extra ';' Parameter.cc:179: error: expected unqualified-id before ';' token Parameter.cc:180: error: expected unqualified-id before ';' token Parameter.cc:181: error: expected unqualified-id before ';' token Parameter.cc:182: error: expected unqualified-id before ';' token Parameter.cc:183: error: expected unqualified-id before ';' token Parameter.cc:184: error: expected unqualified-id before ';' token Parameter.cc:185: error: expected unqualified-id before ';' token Parameter.cc:187: error: expected unqualified-id before ';' token Parameter.cc:188: error: expected unqualified-id before ';' token Parameter.cc:189: error: expected unqualified-id before ';' token
From my understanding of the internal compiler error in the first error, is that it has so to do with the type checker failing when it tries to compare two types. It seems that both these errors have to do with template specilization.
Any suggestions on what I can do to compile the code? Should I downgrade GCC to 3.2 (which is what you quote in the README)?
-krish
-- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
_______________________________________________ fsa mailing list fsa@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/fsa
On Wed, 15 Feb 2006, Stephan Kanthak wrote:
Hi,
we have fixed that bug and many more in a new upcoming release already. Unfortunately, I can't give you details on a release date at the moment. But it should be rather soon.
Will you be supporting templated semi-rings? I'd like to use something like the Expectation Semiring of Eisner but this seems diffcult with the current library. -krish
On Feb 14, 2006, at 22:31 Uhr, Krishna M. Roskin wrote:
Hello,
I have been unable to compile the library. I've tried with GCC 3.4.4 and GCC 4.0.2. I get this error message:
BinaryStream.cc:105: warning: specialization of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' in different namespace BinaryStream.hh:136: warning: from definition of 'template<class T> bool Core::BinaryOutputStream::write(const T*, std::streamsize)' BinaryStream.cc: In member function 'bool Core::BinaryOutputStream::write(const T*, std::streamsize) [with T = bool]': BinaryStream.cc:105: internal compiler error: in comptypes, at cp/typeck.c:942 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
If I comment out those errors, I still get this:
Parameter.cc:174: warning: extra ';' Parameter.cc:179: error: expected unqualified-id before ';' token Parameter.cc:180: error: expected unqualified-id before ';' token Parameter.cc:181: error: expected unqualified-id before ';' token Parameter.cc:182: error: expected unqualified-id before ';' token Parameter.cc:183: error: expected unqualified-id before ';' token Parameter.cc:184: error: expected unqualified-id before ';' token Parameter.cc:185: error: expected unqualified-id before ';' token Parameter.cc:187: error: expected unqualified-id before ';' token Parameter.cc:188: error: expected unqualified-id before ';' token Parameter.cc:189: error: expected unqualified-id before ';' token
From my understanding of the internal compiler error in the first error, is that it has so to do with the type checker failing when it tries to compare two types. It seems that both these errors have to do with template specilization.
Any suggestions on what I can do to compile the code? Should I downgrade GCC to 3.2 (which is what you quote in the README)?
-krish
-- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
_______________________________________________ fsa mailing list fsa@lists.rwth-aachen.de http://mailman.rwth-aachen.de/mailman/listinfo/fsa
-- Krishna M. Roskin Center for Biomolecular Science and Engineering, UC Santa Cruz mailto:krish@soe.ucsc.edu http://www.soe.ucsc.edu/~krish/
participants (3)
-
Krishna M. Roskin
-
Roy Tromble
-
Stephan Kanthak