Compile error on Irix from cvs tree

From: Martin MOKREJŠ (mmokrejs@natur.cuni.cz)
Date: Wed Nov 27 2002 - 02:14:12 EST

  • Next message: Dom Lachowicz: "Commit: Drag+Drop editing"

    Hi,
      I've the following problem building current CVS on SGI Irix 6.5.15 box:

    urce='ev_EditMethod.cpp' object='ev_EditMethod.o' libtool=no \
    depfile='.deps/ev_EditMethod.Po' tmpdepfile='.deps/ev_EditMethod.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. -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/af/xap/unix' -I'../../../../src/ot!
     her/spell/xp' -I'../../../../src/otCC -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. -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'../../../../sr!
     c/af/xap/unix' -I'../../../../src/other/spell/xp' -I'../../../../src/o
    tCC -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 -DHcc-1681 CC: WARNING File = ../../../../src/af/gr/xp/gr_Image.h, Line = 76
      The "GR_Image::GRType GR_RasterImage::getType()" does not match
              "GR_Image::getType"--is virtual function override intended?

            virtual GRType getType() { return GRT_Raster; }
                                    ^

    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-1117 CC: ERROR File = ../../../../src/af/xap/xp/xap_Frame.h, Line = 193
      An expression appears after a "return" in a "void" function.

            void refillToolbarsInFrameData(void) { return m_pFrameImpl->_refillToolbarsInFrameData(); }
                                                                                 ^

    1 error detected in the compilation of "ev_EditMethod.cpp".
    make[4]: *** [ev_EditMethod.o] Error 2
    make[4]: Leaving directory `/software/scratch/abiword/abi/src/af/ev/xp'

    -- 
    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 - 02:15:47 EST