You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by Marc <ma...@ist.de> on 2000/01/16 20:36:38 UTC
Re: changes for xml4c3_0_0...
Hi
Happy New Year.
I spent a couple of weeks abroad, so I didn't get anything done.
Porting V3 was a lot easier than V2_x - so far:
----------------------------------------------------------------------------------------
I encountered a problem I'm not sure I can fix quickly:
Apparently there is a problem with a pathname:
"IRIX/IRIXPlatformUtils.cpp": using precompiled header file
"IRIXPlatformUtils.pch".
cc-3032 CC: ERROR File =
/usr/people/marc/xml4csrc3_0_0/include/util/Janitor.hpp, Line = 110
Could not create instantiation information directory
/usr/people/marc/xml4csrc3_0_0/obj/IRIX/ii_files/
template <class T> class ArrayJanitor
^
1 catastrophic error detected in the compilation of
"IRIX/IRIXPlatformUtils.cpp".
Do you know where "IRIX" comes from? ii_files lives in obj
-----------------------------------------------------------------------------------------
/src/Makefile.incl
IRIX
- I've removed the -mips4 compile option. This flag is not really useful as
the SGI compilers are able to figure out on which hardware they run.
I would suggest that in your documentation you recommend that if people
cannot live with these
defaults, they should have a look at
man CC
in order to determine which SGI Application Binary Interface they need and
add the appropriate
flag. However, the defaults are really good and no changes should be
neccessary.
- The pch option is ok but does not speed up compilation significantly.
#=============== IRIX SPECIFIC OPTIONS ============================
ifeq (${PLATFORM}, IRIX)
PLATFORM_COMPILE_OPTIONS = -LANG:pch -LANG:std -O2 \
-D${PLATFORM} -D_REENTRANT \
-I/usr/local/include
OBJ_OUT=${XERCESCROOT}/obj/
MAKE_SHARED = ${CXX} -D${PLATFORM} -shared
MAKE_SHARED_C = ${CC} -D${PLATFORM} -shared
ALLLIBS = -L/usr/lib32 -lC
SHLIBSUFFIX=.so
endif
-----------------------
OBJ_OUT has to use XERCESCROOT rather than XML4CROOT
------------------------------------------------------------------------------------------
More return-type warnings:
cc-3303 CC: WARNING File = SAXParser.cpp, Line = 809
A type qualifier on a return type is meaningless.
const bool SAXParser::expandSystemId(const XMLCh* const, XMLBuffer&)
cc-3303 CC: WARNING File =
/usr/people/marc/xml4csrc3_0_0/src/include/framework/XMLEntityHandler.hpp,
Line = 118
A type qualifier on a return type is meaningless.
virtual const bool expandSystemId
^
cc-3303 CC: WARNING File =
/usr/people/marc/xml4csrc3_0_0/src/include/parsers/DOMParser.hpp, Line =
333
A type qualifier on a return type is meaningless.
inline const bool DOMParser::expandSystemId(const XMLCh* const,
XMLBuffer&)
cc-3303 CC: WARNING File =
/usr/people/marc/xml4csrc3_0_0/src/include/validators/DTD/DTDEntityDecl.hpp,
Line = 118
A type qualifier on a return type is meaningless.
const void setDeclaredInIntSubset(const bool newValue);
^
cc-3303 CC: WARNING File =
/usr/people/marc/xml4csrc3_0_0/src/include/validators/DTD/DTDEntityDecl.hpp,
Line = 223
A type qualifier on a return type is meaningless.
inline const void DTDEntityDecl::setDeclaredInIntSubset(const bool
newValue)
----------------------------------------------------------------------------------------------
marc
Re: changes for xml4c3_0_0...
Posted by Rahul Jain <ra...@apache.org>.
> I encountered a problem I'm not sure I can fix quickly:
> Apparently there is a problem with a pathname:
>
> "IRIX/IRIXPlatformUtils.cpp": using precompiled header file
> "IRIXPlatformUtils.pch".
> cc-3032 CC: ERROR File =
> /usr/people/marc/xml4csrc3_0_0/include/util/Janitor.hpp, Line = 110
> Could not create instantiation information directory
> /usr/people/marc/xml4csrc3_0_0/obj/IRIX/ii_files/
>
> template <class T> class ArrayJanitor
> ^
>
> 1 catastrophic error detected in the compilation of
> "IRIX/IRIXPlatformUtils.cpp".
>
> Do you know where "IRIX" comes from? ii_files lives in obj
The compiler is asked to generate the .o file in
IRIX/IRIXPlatformUtils.cpp directory
which is then copied to the top level 'objects' directory from
where it is linked.
The makefiles involved are
src/util/Makfile.util.submodule and
src/util/Platforms/Makefile.in
All compile and link options are picked up from
src/Makefile.in
src/Makefile.incl
Maybe to fix this, you may have to specify a global common directory
where all the template instantiations happen. Sorry, don't know the
exact solution as I don't have access to a SGI machine.
> /src/Makefile.incl
> IRIX
> - I've removed the -mips4 compile option. This flag is not really useful as
> the SGI compilers are able to figure out on which hardware they run.
done
> OBJ_OUT has to use XERCESCROOT rather than XML4CROOT
>
done
> cc-3303 CC: WARNING File = SAXParser.cpp, Line = 809
> A type qualifier on a return type is meaningless.
> const bool SAXParser::expandSystemId(const XMLCh* const, XMLBuffer&)
>
done
> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/framework/XMLEntityHandler.hpp,
> Line = 118
> A type qualifier on a return type is meaningless.
> virtual const bool expandSystemId
done
> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/parsers/DOMParser.hpp, Line =
> 333
> A type qualifier on a return type is meaningless.
> inline const bool DOMParser::expandSystemId(const XMLCh* const,
> XMLBuffer&)
done
> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/validators/DTD/DTDEntityDecl.hpp,
> Line = 118
> A type qualifier on a return type is meaningless.
> const void setDeclaredInIntSubset(const bool newValue);
> ^
done
> cc-3303 CC: WARNING File =
> /usr/people/marc/xml4csrc3_0_0/src/include/validators/DTD/DTDEntityDecl.hpp,
> Line = 223
> A type qualifier on a return type is meaningless.
> inline const void DTDEntityDecl::setDeclaredInIntSubset(const bool
> newValue)
done
rahul