I have used a guide to turn my room flags into extended bit vectors and ive had quite a problem with this error, I managed to get it down to 3 errors.
build.c: In function `fold_area':
build.c:6192: warning: int format, pointer arg (arg 3)
build.c:6194: warning: int format, pointer arg (arg 3)
mapout.c: In function `add_new_room_to_map':
mapout.c:365: `rm' undeclared (first use in this function)
mapout.c:365: (Each undeclared identifier is reported only once
mapout.c:365: for each function it appears in.)
Here is 6192 and 6194 of build.c
mapout.c 365
build.c: In function `fold_area':
build.c:6192: warning: int format, pointer arg (arg 3)
build.c:6194: warning: int format, pointer arg (arg 3)
mapout.c: In function `add_new_room_to_map':
mapout.c:365: `rm' undeclared (first use in this function)
mapout.c:365: (Each undeclared identifier is reported only once
mapout.c:365: for each function it appears in.)
Here is 6192 and 6194 of build.c
room->sector_type, room->tele_delay, room->tele_vnum, room->tunnel );
fprintf( fpout, "0 %d %d\n", print_bitvector(&room->room_flags), room->sector_type );
mapout.c 365
xSET_BITS(location->room_flags, rm->room_flags);