[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]

[XaraXtreme-dev] compile failure with recent versions



Hi all,

I am trying to port the latest version of XaraLX (834) to FreeBSD and
I'm getting a weird C++ warning and an error about undeclared macros:

...
Making all in PreComp
gmake[1]: Entering directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/PreComp'
gmake  all-am
gmake[2]: Entering directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/PreComp'
gmake[2]: Nothing to be done for `all-am'.
gmake[2]: Leaving directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/PreComp'
gmake[1]: Leaving directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/PreComp'
Making all in wxOil
Testing for new resources...
gmake[1]: Entering directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/wxOil'
gmake  all-am
Testing for new resources...
gmake[2]: Entering directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/wxOil'
if c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"XaraLX\" -DVERSION=\"0.4\" -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 -DSIZEOF_VOIDP=8 -DSIZEOF_LONG_LONG=8 -DSIZEOF_LONG=8 -DSIZEOF_INT=4 -DSIZEOF_SHORT=2 -DSIZEOF___INT64=0 -DHAVE_ICONV=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1  -I. -I.   -I/usr/X11R6/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -I/usr/local/include/freetype2 -I/usr/local/include  -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/X11R6/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include    -I/usr/local/include/atk-1.0/atk  -I/usr/X11R6/include/gtk-2.0/gtk -I../PreComp -I../wxOil -I.././Kernel -I.././wxOil -I.././wxOil/Res -I.././tools -I.././GDraw -I.././PreComp -I.././wxXtra -I- -I/usr/local/include/dlmalloc -I/usr/X11R6/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA -DUSE_NATIVE_XLONG -DBUILDSHADOWS -DOLD_MATRIX_TRANSFORMATIONS -DVECTOR_STROKING -DEXCLUDE_FROM_XARALX -DNEW_SHADOW_RENDER -DNO_XARACMS -DNEW_FEATURES -DSHOWPORTNOTE -DDO_EXPORT -O2 -fno-strict-aliasing -pipe -march=athlon64 -Wall -Wno-unknown-pragmas -g -fexceptions  -I/usr/X11R6/include/wx-2.6/gtk2-unicode-release-2.6 -I/usr/X11R6/include/wx-2.6 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -DNO_GCC_PRAGMA  -I/usr/local/include/freetype2 -I/usr/local/include  -DXTHREADS -DXUSE_MTSAFE_API -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -I/usr/X11R6/include -I/usr/X11R6/include/gtk-2.0 -I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2 -I/usr/local/include    -I/usr/local/include/atk-1.0/atk  -I/usr/X11R6/include/gtk-2.0/gtk -MT localenv.o -MD -MP -MF ".deps/localenv.Tpo" -c -o localenv.o localenv.cpp; \
then mv -f ".deps/localenv.Tpo" ".deps/localenv.Po"; else rm -f ".deps/localenv.Tpo"; exit 1; fi
In file included from .././Kernel/pump.h:112,
                 from .././Kernel/opdesc.h:108,
                 from .././Kernel/ops.h:120,
                 from .././Kernel/bmplist.h:106,
                 from .././Kernel/app.h:111,
                 from /usr/local/include/camtypes.h:135,
                 from localenv.cpp:103:
./docmsgs.h: In constructor `DocChangingMsg::DocChangingMsg(Document*, DocChangingMsg::DocState)':
./docmsgs.h:163: warning: `DocChangingMsg::pChangingDoc' will be initialized after
./docmsgs.h:160: warning:   `DocChangingMsg::DocState DocChangingMsg::State'
./docmsgs.h:171: warning:   when initialized here
./docmsgs.h: In constructor `DocChangingMsg::DocChangingMsg(Document*, Document*, DocChangingMsg::DocState)':
./docmsgs.h:167: warning: `DocChangingMsg::pNewDoc' will be initialized after
./docmsgs.h:160: warning:   `DocChangingMsg::DocState DocChangingMsg::State'
./docmsgs.h:174: warning:   when initialized here
localenv.cpp: In static member function `static void LocalEnvironment::GetNumberOfDecimalPlaces(UINT32*)':
localenv.cpp:150: error: `FRAC_DIGITS' undeclared (first use this function)
localenv.cpp:150: error: (Each undeclared identifier is reported only once for each function it appears in.)
localenv.cpp:150: error: `nl_langinfo' undeclared (first use this function)
localenv.cpp: In static member function `static void LocalEnvironment::GetThousandsSeparator(StringBase*)':
localenv.cpp:187: error: `THOUSANDS_SEP' undeclared (first use this function)
localenv.cpp:187: error: `nl_langinfo' undeclared (first use this function)
localenv.cpp: In static member function `static void LocalEnvironment::GetDecimalPointChar(StringBase*)':
localenv.cpp:221: error: `DECIMAL_POINT' undeclared (first use this function)
localenv.cpp:221: error: `nl_langinfo' undeclared (first use this function)
gmake[2]: *** [localenv.o] Error 1
gmake[2]: Leaving directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/wxOil'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/tmp/xaralx-devel/work/XaraLX-0.4r834/wxOil'
gmake: *** [all-recursive] Error 1
*** Error code 2

I just want to ask on this list, before investigating the problem
myself.

Any ideas?

-- 
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
                -- Edsger W. Dijkstra

Attachment: pgp43LWZOsZRp.pgp
Description: PGP signature