Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Can't compile with gcc-3.4.3

closed
None
8
2005-06-02
2005-05-10
Samuele Kaplun
No

Hi!
I can't compile tse3 with gcc-3.4.3
(Slackware-current, kernel 2.6.11-cko5)
After correcting some ';' in the sources, which g++ now
considers as errors, here are the compilation failure:
[snip]
make[4]: Entering directory `/build/tse3-0.2.7/src/tse3/util'
source='Demidify.cpp' object='Demidify.lo' libtool=yes \
depfile='.deps/Demidify.Plo'
tmpdepfile='.deps/Demidify.TPlo' \
depmode=gcc3 /bin/sh ../../../depcomp \
/bin/sh ../../../libtool --mode=compile g++
-DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -O2
-march=athlon-xp -m3dnow -W -Wall -ansi -pedantic -c -o
Demidify.lo `test -f 'Demidify.cpp' || echo './'`Demidify.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -O2
-march=athlon-xp -m3dnow -W -Wall -ansi -pedantic -c
Demidify.cpp -MT Demidify.lo -MD -MP
-MF .deps/Demidify.TPlo -fPIC -DPIC -o Demidify.lo
In file included from ../../../src/tse3/Song.h:22,
from Demidify.cpp:19:
../../../src/tse3/Notifier.h:368: error: multiple types in one
declaration
../../../src/tse3/Notifier.h:605: error: using typedef-name
`TSE3::Listener<interface_type>::notifier_type' after `class'
../../../src/tse3/Notifier.h: In destructor
`TSE3::Notifier<interface_type>::~Notifier() [with
interface_type = TSE3::PlayableListener]':
../../../src/tse3/Playable.h:49: instantiated from here
../../../src/tse3/Notifier.h:474: error: invalid use of undefined
type `struct
TSE3::Notifier<TSE3::PlayableListener>::listener_type'
../../../src/tse3/Notifier.h:368: error: declaration of `struct
TSE3::Notifier<TSE3::PlayableListener>::listener_type'
make[4]: *** [Demidify.lo] Error 1
make[4]: Leaving directory `/build/tse3-0.2.7/src/tse3/util'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/tse3-0.2.7/src/tse3'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/tse3-0.2.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build/tse3-0.2.7'
make: *** [all] Error 2

Discussion

  • Samuele Kaplun
    Samuele Kaplun
    2005-05-10

    • priority: 5 --> 8
    • assigned_to: nobody --> petegoodliffe
     
  • Pete Goodliffe
    Pete Goodliffe
    2005-06-02

    Logged In: YES
    user_id=20513

    This is caused by rogue semicolons in a couple of header files.
    Fixed in latest build.

     
  • Pete Goodliffe
    Pete Goodliffe
    2005-06-02

    • status: open --> closed