This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

g++ compiler on HPUX


Hi


I 've been trying to compile QT library on HPUX version 11.00 platform and i ran
into the error shown below. It must be something to do with gcc compiler, since
i managed to compile the library using aCC compiler without any problem at all.

Have you got any idea please????

Thanks in advance.

Please send your e_mail to:   lavasani@connect.org.uk



        g++ -c -I/opt/gnome/qt-2.1.1/include -Wno-unused -Wno-parentheses -O -DQT_NO_CODECS -I../../include -I../tools -I. -o mocgen.o mocgen.cpp
In file included from ../../include/qcstring.h:34,
                 from ../../include/qstring.h:31,
                 from ../../include/qgdict.h:31,
                 from ../../include/qasciidict.h:30,
                 from moc.y:46:
/net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29: warning: declaration of `int memcmp(const void *, const void *, long unsigned int)'
/net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:29: warning: conflicts with built-in declaration `int memcmp(const void *, const void *, unsigned int)'
/net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85: warning: declaration of `void * memcpy(void *, const void *, long unsigned int)'
/net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:85: warning: conflicts with built-in declaration `void * memcpy(void *, const void *, unsigned int)'
/net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:93: warning: declaration of `size_t strlen(const char *)'
/net/lib/gcc11/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.2/include/string.h:93: warning: conflicts with built-in declaration `unsigned int strlen(const char *)'
moc.y: In function `void generateClass()':
moc.y:2697: internal error--unrecognizable insn:
(insn 9339 9338 4728 (set (reg:SI 20 %r20)
        (mult:SI (mem:SI (plus:SI (reg:SI 3 %r3)
                    (const_int 1696 [0x6a0])) 0)
            (const_int 8 [0x8]))) -1 (nil)
    (nil))
*** Error exit code 1

Stop.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]