It is documented here:
http://lists.fedoraproject.org/pipermail/devel/2011-February/148523.html

under "uninitialized const".

You're suppose to either supply an initializer or a default constructor.

A default constructor can be a simple "A() {}"

On Tue, Mar 29, 2011 at 11:00 PM, Andrew Benton <[email protected]> wrote:

> Hello world!
> I'm in the process of rebuilding with gcc-4.6.0 and I'm having a
> problem with openjade-1.3.2
> The build fails like so:
>
> g++ -O2 -I. -I./../include -I/usr/include/OpenSP -I/usr/include/OpenSP/..
> -I./../grove -I./../spgrove -I./../style  -DPACKAGE_NAME=\"\"
> -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"openjade\" -DVERSION=\"1.3.2\"
> -DSP_DEFINE_TEMPLATES=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
> -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_LIMITS_H=1 -DHAVE_STRUCT_STAT_ST_BLKSIZE=1 -DHAVE_ST_BLKSIZE=1
> -DSIZEOF_SIZE_T=8 -DSIZEOF_UNSIGNED_INT=4 -DSP_HAVE_LOCALE=1
> -DSP_HAVE_WCHAR=1 -DSP_HAVE_GETTEXT=1 -DSP_HAVE_BOOL=1
> -DSP_ANSI_CLASS_INST=1 -DSP_HAVE_SOCKET=1 -DJADE_MIF=1 -DJADE_HTML=1
> -DSP_MULTI_BYTE=1 -DSGML_CATALOG_FILES_DEFAULT=\"/etc/sgml/catalog\"
> -DSGML_SEARCH_PATH_DEFAULT=\"/usr/share/sgml\" -DHAVE_DLFCN_H=1
>  -DDEFAULT_SCHEME_BUILTINS=\"/usr/share/sgml/openjade-1.3.2/builtins.dsl\"
> -c TeXFOTBuilder.cxx
> TeXFOTBuilder.cxx: In function 'OpenJade_DSSSL::FOTBuilder*
> OpenJade_DSSSL::makeTeXFOTBuilder(OpenSP::OutputByteStream*,
> OpenSP::Messenger*, const OpenJade_DSSSL::FOTBuilder::Extension*&)':
> TeXFOTBuilder.cxx:1876:48: error: uninitialized const 'pageFloat'
> [-fpermissive]
> TeXFOTBuilder.cxx:77:9: note: 'const class
> OpenJade_DSSSL::TeXFOTBuilder::PageFloatFlowObj' has no user-provided
> default constructor
> TeXFOTBuilder.cxx:1877:51: error: uninitialized const 'pageFootnote'
> [-fpermissive]
> TeXFOTBuilder.cxx:96:9: note: 'const class
> OpenJade_DSSSL::TeXFOTBuilder::PageFootnoteFlowObj' has no user-provided
> default constructor
> make[2]: *** [TeXFOTBuilder.o] Error 1
> make[2]: Leaving directory `/tmp/openjade-1.3.2/jade'
> make[1]: *** [jade] Error 2
> make[1]: Leaving directory `/tmp/openjade-1.3.2'
> make: *** [all] Error 2
>
> Google is not helping. Has anyone else (perhaps with some l33t c++
> skills) got some insight into this?
>
> Andy
> --
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to