[code][newbie] races.c

From: Mike Carpenter (abram@DELTANET.COM)
Date: 10/30/97


I implemented this little snippet from the CircleMud Resources and I get
this error,
can anyone help me out what does this mean?  I can't seem to find the
error.
I just copied all the errors, there are 57 errors mostly the same...
Abram


races.c
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(487) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(495) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(500) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(502) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(510) : error C2079:
'obj_flags' uses undefined struct 'obj_flag_data'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(511) : error C2079:
'affected' uses undefined struct 'obj_affected_type'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(541) : error C2079:
'affected' uses undefined struct 'obj_affected_type'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(590) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(595) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(635) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(636) : error C2282:
'byte' is followed by 'class' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(637) : error C2282:
'byte' is followed by 'race' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(638) : error C2282:
'byte' is followed by 'level' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(640) : error C2371:
'time' : redefinition; different basic types
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(641) : error C2371:
'weight' : redefinition; different basic types
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(643) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(700) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(703) : error C2282:
'byte' is followed by 'carry_items' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(707) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(719) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(720) : error C2282:
'byte' is followed by 'PADDING0' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(723) : error C2282:
'byte' is followed by 'freeze_level' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(755) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(765) : error C2079:
'saved' uses undefined struct 'player_special_data_saved'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(779) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(781) : error C2282:
'byte' is followed by 'default_pos' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(783) : error C2282:
'byte' is followed by 'damnodice' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(784) : error C2282:
'byte' is followed by 'damsizedice' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(786) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(794) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(798) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(815) : error C2079:
'player' uses undefined struct 'char_player_data'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(819) : error C2079:
'char_specials' uses undefined struct 'char_special_data'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(821) : error C2079:
'mob_specials' uses undefined struct 'mob_special_data'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(846) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(847) : error C2282:
'byte' is followed by 'class' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(848) : error C2282:
'byte' is followed by 'race' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(849) : error C2282:
'byte' is followed by 'level' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(850) : error C2371:
'hometown' : redefinition; different basic types
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(853) : error C2371:
'weight' : redefinition; different basic types
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(859) : error C2079:
'player_specials_saved' uses undefined struct 'player_special_data_saved'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(862) : error C2079:
'affected' uses undefined struct 'affected_type'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(866) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(889) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(890) : error C2282:
'byte' is followed by 'idle_tics' (missing ','?)
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(915) : error C2371:
'next' : redefinition; different basic types
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(916) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(970) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(971) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(975) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\structs.h(976) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\interpreter.h(46) : error C2061:
syntax error : identifier 'byte'
C:\Windows\Desktop\circ\circle30bpl11\src\interpreter.h(51) : error C2059:
syntax error : '}'
C:\Windows\Desktop\circ\circle30bpl11\src\utils.h(28) : error C2146: syntax
error : missing ')' before identifier 'file'
C:\Windows\Desktop\circ\circle30bpl11\src\utils.h(28) : error C2081: 'byte'
: name in formal parameter list illegal
C:\Windows\Desktop\circ\circle30bpl11\src\utils.h(28) : error C2280:
missing '{' before identifier 'file'?
C:\Windows\Desktop\circ\circle30bpl11\src\races.c(83) : fatal error C1004:
unexpected end of file found
Error executing cl.exe.

circle.exe - 57 error(s), 4 warning(s)

abram@deltanet.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST