Simon Elbaz wrote:
Hi,
after downloading the trunk version from subversion, the following error
appears:
/home/simon/mingw/bin/i386-mingw32-g++ -O -DNDEBUG
-I/mnt/backup_software/icu_mingw/include -Wall -DCYGWIN -D_REENTRANT
-DXALAN_ICU_MSG_LOADER -DXALAN_USE_ICU -c
-I/mnt/backup_software/trunk/src -I/mnt/backup_software/trunk/include
-I../../nls/include -I/mnt/backup_software/xerces-c-src_2_8_0/src/
-I/mnt/backup_software/xerces-c-src_2_8_0/include/xercesc
-I/mnt/backup_software/xerces-c-src_2_8_0/include/
-I/mnt/backup_software/icu_mingw/include -o
../../obj/StylesheetConstructionContextDefault.o
/mnt/backup_software/trunk/src/xalanc/XSLT/StylesheetConstructionContextDefault.cpp
/mnt/backup_software/trunk/src/xalanc/XSLT/StylesheetConstructionContextDefault.cpp:
In member function `virtual xalanc_1_10::XPath*
xalanc_1_10::StylesheetConstructionContextDefault::createMatchPattern(const
xalanc_1_10::LocatorType*, const xalanc_1_10::XalanDOMChar*, const
xalanc_1_10::PrefixResolver&, bool, bool)':
/mnt/backup_software/trunk/src/xalanc/XSLT/StylesheetConstructionContextDefault.cpp:456:
error: invalid conversion from `const xalanc_1_10::LocatorType*' to
`const xalanc_1_10::LocatorType*'
This looks like a compiler bug. I can't imagine any other reason it
would be invalid to "convert" between two identical types, or even why
the compiler would need to apply a conversion.
The current trunk compiles cleanly with a variety of compilers. Can you
provide the output of the -v argument to the compiler?
Dave