#4 Cannot compile libebml 0.8.1

open
nobody
None
5
2012-12-07
2010-05-22
Anonymous
No

After the upgrade libebml to version 0.8.1 during compilation I have an error occurs

g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/media/SDC1/svn/libebml/make/linux/../.. -o /media/SDC1/svn/libebml/make/linux/../../src/Debug.o /media/SDC1/svn/libebml/make/linux/../../src/Debug.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/media/SDC1/svn/libebml/make/linux/../.. -o /media/SDC1/svn/libebml/make/linux/../../src/EbmlBinary.o /media/SDC1/svn/libebml/make/linux/../../src/EbmlBinary.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/media/SDC1/svn/libebml/make/linux/../.. -o /media/SDC1/svn/libebml/make/linux/../../src/EbmlContexts.o /media/SDC1/svn/libebml/make/linux/../../src/EbmlContexts.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/media/SDC1/svn/libebml/make/linux/../.. -o /media/SDC1/svn/libebml/make/linux/../../src/EbmlCrc32.o /media/SDC1/svn/libebml/make/linux/../../src/EbmlCrc32.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/media/SDC1/svn/libebml/make/linux/../.. -o /media/SDC1/svn/libebml/make/linux/../../src/EbmlDate.o /media/SDC1/svn/libebml/make/linux/../../src/EbmlDate.cpp
g++ -c -Wall -Wno-unknown-pragmas -ansi -fno-gnu-keywords -Wshadow -I/media/SDC1/svn/libebml/make/linux/../.. -o /media/SDC1/svn/libebml/make/linux/../../src/EbmlDummy.o /media/SDC1/svn/libebml/make/linux/../../src/EbmlDummy.cpp
In file included from /media/SDC1/svn/libebml/make/linux/../../src/EbmlDummy.cpp:36:
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlDummy.h:64: error: ISO C++ forbids declaration of ‘EBML_CONCRETE_DUMMY_CLASS’ with no type
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlDummy.h:65: error: expected ‘;’ before ‘}’ token
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlDummy.h:65: error: expected ‘;’ before ‘}’ token
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlDummy.h:64: error: cannot declare parameter ‘<anonymous>’ to be of abstract type ‘libebml::EbmlDummy’
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlDummy.h:43: note: because the following virtual functions are pure within ‘libebml::EbmlDummy’:
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlElement.h:375: note: virtual libebml::EbmlElement* libebml::EbmlElement::Clone() const
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlElement.h:383: note: virtual const libebml::EbmlCallbacks& libebml::EbmlElement::Generic() const
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlElement.h:385: note: virtual libebml::EbmlElement& libebml::EbmlElement::CreateElement() const
/media/SDC1/svn/libebml/make/linux/../../src/EbmlDummy.cpp:45: error: prototype for ‘libebml::EbmlDummy::operator const libebml::EbmlId&()’ does not match any in class ‘libebml::EbmlDummy’
/media/SDC1/svn/libebml/make/linux/../../ebml/EbmlDummy.h:52: error: candidate is: virtual libebml::EbmlDummy::operator const libebml::EbmlId&() const
make: *** [/media/SDC1/svn/libebml/make/linux/../../src/EbmlDummy.o] Error 1

Discussion