#47 Fix build with GCC 4.6

open
nobody
None
5
2011-03-11
2011-03-11
No

In 4.6 the compiler no longer allows objects of const-qualified type to be
default initialized unless the type has a user-declared default constructor.

TransformFOTBuilder.cxx: In function 'OpenJade_DSSSL::FOTBuilder*
OpenJade_DSSSL::makeTransformFOTBuilder(OpenSP::CmdLineApp*, bool, const
OpenSP::Vector<OpenSP::String<unsigned int> >&, const
OpenJade_DSSSL::FOTBuilder::Extension*&)':
TransformFOTBuilder.cxx:251:66: error: uninitialized const 'pi' [-fpermissive]
TransformFOTBuilder.cxx:57:9: note: 'const class
OpenJade_DSSSL::TransformFOTBuilder::ProcessingInstructionFlowObj' has no
user-provided default constructor

Discussion