08 Nov, 2009, JohnnyStarr wrote in the 1st comment:
Votes: 0
[~/mud/src]# make
g++ -Wall -O -g -DNOCRYPT -c -o obj/character.o character.c
In file included from character.c:5:
mud.h:2295: syntax error before `*'
mud.h:2535: `FILE' was not declared in this scope
mud.h:2535: `fp' was not declared in this scope
mud.h:2536: `FILE' was not declared in this scope
mud.h:2536: `fp' was not declared in this scope
mud.h:2537: `FILE' was not declared in this scope
mud.h:2537: `fp' was not declared in this scope
mud.h:2538: `FILE' was not declared in this scope
mud.h:2538: `fp' was not declared in this scope
mud.h:2539: `FILE' was not declared in this scope
mud.h:2539: `fp' was not declared in this scope
mud.h:2540: `FILE' was not declared in this scope
mud.h:2540: `fp' was not declared in this scope
mud.h:2540: variable or field `fread_to_eol' declared void
mud.h:2541: `FILE' was not declared in this scope
mud.h:2541: `fp' was not declared in this scope
make: *** [obj/character.o] Error 1
[~/mud/src]#


mud.h: 2295
extern FILE *fpReserve;


I've been having issues with external variables ever since my server upgraded gcc.
I'm fine with the extra clean up, but I can't figure out the issue with type FILE.
Anyone know what the issue is?
08 Nov, 2009, bbailey wrote in the 2nd comment:
Votes: 0
staryavsky said:
I've been having issues with external variables ever since my server upgraded gcc.
I'm fine with the extra clean up, but I can't figure out the issue with type FILE.
Anyone know what the issue is?


I imagine that either stdio.h is not being included by character.c, or that cstdio is being included and you're having namespace resolution issues.
0.0/2