www.digitalmars.com         C & C++   DMDScript  
Archives

D Programming
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.ide
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger
D.gnu
D

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript
electronics


digitalmars.empire - VMS Empire

reply nathan thomas <ki4hbd.nathan gmail.com> writes:
Does anyone know how to get the C version of empire to compile. I haven't
changed anything in the 1.7 source or make file and I get the following error

game.c: In function ‘good_cont’:
game.c:410: error: invalid storage class for function ‘mark_cont’
game.c: At top level:
game.c:446: warning: conflicting types for ‘mark_cont’
game.c:446: error: static declaration of ‘mark_cont’ follows non-static
declaration
game.c:418: error: previous implicit declaration of ‘mark_cont’ was here
make: *** [game.o] Error 1

Does anyone know what to do to get it to compile?
Thanks,
Nathan Thomas
Jan 30 2008
parent nathan thomas <ki4hbd.nathan gmail.com> writes:
oh sorry forgot to mention, im running ubuntu 7.10 with gcc
Jan 30 2008