You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Ashutosh Tiwari <so...@gmail.com> on 2014/07/15 12:41:59 UTC

Xalan 1.11 Compilation issue

Hello Dev,

I am facing compilation issue of xalan-1.11 on linux redhat 5.5 using
solaris sun studio CC compiler. It says #error unknown compiler while with
g++ it succeeds.  So Is there any way xalan c++ can be compiled with Sun CC.

Actually My application is compiled using Sun CC. So I want to compile
xalan with CC.
I have also tried -compat=g in Sun CC, but it is giving below error -

"/usr/include/c++/4.1.2/cwchar", line 151: Error: fwide is not defined.
"/usr/include/c++/4.1.2/cwchar", line 152: Error: fwprintf is not defined.
"/usr/include/c++/4.1.2/cwchar", line 153: Error: fwscanf is not defined.
"/usr/include/c++/4.1.2/cwchar", line 162: Error: swprintf is not defined.
"/usr/include/c++/4.1.2/cwchar", line 163: Error: swscanf is not defined.
"/usr/include/c++/4.1.2/cwchar", line 165: Error: vfwprintf is not defined.
"/usr/include/c++/4.1.2/cwchar", line 167: Error: vfwscanf is not defined.


Thanks & Regards,
Ashutosh