Re: Compile error on Irix from cvs tree

From: Martin MOKREJŠ (mmokrejs@natur.cuni.cz)
Date: Wed Nov 27 2002 - 05:53:56 EST

  • Next message: Mike Nordell: "Re: Compile error on Irix from cvs tree"

    Yet another error:

    make[5]: Entering directory `/software/scratch/abiword/abi/src/wp/ap/unix'
    source='ap_UnixApp.cpp' object='ap_UnixApp.o' libtool=no \
    depfile='.deps/ap_UnixApp.Po' tmpdepfile='.deps/ap_UnixApp.TPo' \
    depmode=sgi /bin/sh ../../../../ac-helpers/depcomp \
    CC -DPACKAGE_NAME=\"AbiSuite\" -DPACKAGE_TARNAME=\"abisuite\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"AbiSuite\ 2.0\" -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"AbiSuite-2.0\" -DVERSION=\"1.1.2\" -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_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_EXPAT=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DSETENV_MISSING=1 -I. -I. -DABIWORD_APP_NAME="\"AbiWord\"" -DABIWORD_APP_LIBDIR="\"AbiWord\"" -I'../../../../src/af/util/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp' -I'../../../../src/af/xap/xp' -I'../../../../src/af/util/unix' -I'../../../../src/af/ev/unix' -I'../../../../s!
     rc/af/gr/unix' -I'../../../../src/aCC -DPACKAGE_NAME=\"AbiSuite\" -DPACKAGE_TARNAME=\"abisuite\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"AbiSuite\ 2.0\" -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"AbiSuite-2.0\" -DVERSION=\"1.1.2\" -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_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_EXPAT=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DSETENV_MISSING=1 -I. -I. -DABIWORD_APP_NAME="\"AbiWord\"" -DABIWORD_APP_LIBDIR="\"AbiWord\"" -I'../../../../src/af/util/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp' -I'../../../../src/af/xap/xp' -I'../../../../src/af/util/unix' -I'../../..!
     /../src/af/ev/unix' -I'../../../../src/af/gr/unix' -I'../../../../src/
    aCC -DPACKAGE_NAME=\"AbiSuite\" -DPACKAGE_TARNAME=\"abisuite\" -DPACKAGE_VERSION=\"2.0\" -DPACKAGE_STRING=\"AbiSuite\ 2.0\" -DPACKAGE_BUGREPORT=\"http://www.abisource.com/\" -DPACKAGE=\"AbiSuite-2.0\" -DVERSION=\"1.1.2\" -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_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DWORDS_BIGENDIAN=1 -DHAVE_EXPAT=1 -DHAVE_WV=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DRETSIGTYPE=void -DHAVE_RE_COMP=1 -DHAVE_REGCOMP=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DSETENV_MISSING=1 -I. -I. -DABIWORD_APP_NAME="\"AbiWord\"" -DABIWORD_APP_LIBDIR="\"AbiWord\"" -I'../../../../src/af/util/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/ev/xp' -I'../../../../src/af/gr/xp' -I'../../../../srcc-3303 CC: WARNING File = /software/@sys/usr/include/popt.h, Line = 443
      A type qualifier on a return type is meaningless.

      /*@observer@*/ const char *const poptStrerror(const int error)
                                       ^

    cc-3303 CC: WARNING File = ../../../../src/af/gr/xp/gr_Graphics.h, Line = 410
      A type qualifier on a return type is meaningless.

            const bool isSpawnedRedraw(void) const;
                              ^

    cc-3303 CC: WARNING File = ../../../../src/af/gr/xp/gr_Graphics.h, Line = 421
      A type qualifier on a return type is meaningless.

            const bool isExposePending(void) const;
                              ^

    cc-3303 CC: WARNING File = ../../../../src/af/gr/xp/gr_Graphics.h, Line = 423
      A type qualifier on a return type is meaningless.

            const bool isExposedAreaAccessed(void) const;
                              ^

    cc-3303 CC: WARNING File = ../../../../src/af/xap/xp/xap_Frame.h, Line = 232
      A type qualifier on a return type is meaningless.

            const bool isStatusBarShown(void) const { return m_bShowStatusbar;}
                                        ^

    cc-3303 CC: WARNING File = ../../../../src/af/xap/xp/xap_Frame.h, Line = 233
      A type qualifier on a return type is meaningless.

            const bool isMenuBarShown(void) const { return m_bShowMenubar;}
                                        ^

    cc-1681 CC: WARNING File = ../../../../src/text/fmt/xp/fl_SectionLayout.h, Line = 398
      The "bool
              fl_HdrFtrSectionLayout::bl_doclistener_insertSection(fl_ContainerLayo
              ut *, const PX_ChangeRecord_Strux *, PL_StruxDocHandle,
              PL_ListenerId, void (*)(PL_StruxDocHandle, PL_ListenerId,
              PL_StruxFmtHandle))" does not match
              "fl_SectionLayout::bl_doclistener_insertSection"--is virtual
              function override intended?

            virtual bool bl_doclistener_insertSection(fl_ContainerLayout*, const PX_ChangeRecord_Strux * pcrx,
                         ^

    cc-1681 CC: WARNING File = ap_UnixFrame.h, Line = 42
      The "bool AP_UnixFrame::initialize(XAP_FrameMode)" does not match
              "XAP_Frame::initialize"--is virtual function override intended?

            virtual bool initialize(XAP_FrameMode frameMode=XAP_NormalFrame);
                                                    ^

    cc-1681 CC: WARNING File = ../../../../src/wp/ap/xp/ap_App.h, Line = 81
      The "XAP_Frame *AP_App::newFrame(AP_App *)" does not match "XAP_App::newFrame"
              --is virtual function override intended?

            virtual XAP_Frame * newFrame(AP_App *);
                                ^

    cc-1681 CC: WARNING File = ../../../../src/wp/ap/xp/ap_App.h, Line = 81
      The "XAP_Frame *AP_App::newFrame(AP_App *)" does not match
              "XAP_UnixApp::newFrame"--is virtual function override intended?

            virtual XAP_Frame * newFrame(AP_App *);
                                ^

    cc-3303 CC: WARNING File = ../../../../src/text/fmt/xp/fl_AutoNum.h, Line = 94
      A type qualifier on a return type is meaningless.

            const bool isItem(PL_StruxDocHandle pItem) const;
                                                    ^

    cc-3303 CC: WARNING File = ../../../../src/text/fmt/xp/fl_AutoNum.h, Line = 96
      A type qualifier on a return type is meaningless.

            const bool isEmpty(void);
                                                    ^

    cc-3303 CC: WARNING File = ../../../../src/af/util/xp/ut_mbtowc.h, Line = 26
      A type qualifier on a return type is meaningless.

            inline const UT_iconv_t cd () const { return m_cd; }
                                    ^

    cc-3303 CC: WARNING File = ../../../../src/af/util/xp/ut_mbtowc.h, Line = 67
      A type qualifier on a return type is meaningless.

            inline const UT_iconv_t cd () const { return m_cd; }
                                    ^

    cc-1164 CC: ERROR File = ap_UnixApp.cpp, Line = 692
      Argument of type "int (*)(const dirent *)" is incompatible with parameter of
              type "int (*)(dirent_t *)".

            n = scandir(pluginDir.c_str(), &namelist, so_only, alphasort);
                                                      ^

    1 error detected in the compilation of "ap_UnixApp.cpp".
    make[5]: *** [ap_UnixApp.o] Error 2
    make[5]: Leaving directory `/software/scratch/abiword/abi/src/wp/ap/unix'

    -- 
    Martin Mokrejs <mmokrejs@natur.cuni.cz>, <m.mokrejs@gsf.de>
    PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
    MIPS / Institute for Bioinformatics <http://mips.gsf.de>
    GSF - National Research Center for Environment and Health
    Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
    tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
    


    This archive was generated by hypermail 2.1.4 : Wed Nov 27 2002 - 05:55:44 EST