Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
e4978284
Commit
e4978284
authored
13 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Fix warnings and build
parent
b1157ad1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/doors/vbbs/src/GNUmakefile
+12
-8
12 additions, 8 deletions
src/doors/vbbs/src/GNUmakefile
src/doors/vbbs/src/v3_mci.c
+2
-2
2 additions, 2 deletions
src/doors/vbbs/src/v3_mci.c
src/doors/vbbs/src/v3_store.c
+1
-1
1 addition, 1 deletion
src/doors/vbbs/src/v3_store.c
with
15 additions
and
11 deletions
src/doors/vbbs/src/GNUmakefile
+
12
−
8
View file @
e4978284
...
...
@@ -23,17 +23,17 @@ TARGET = ./bin/vbbs
OBJS
=
${
O
}
/v3_basic.o
${
O
}
/v3_hack.o
${
O
}
/v3_io.o
${
O
}
/v3_learn.o
${
O
}
/v3_mail.o
${
O
}
/v3_maint.o
${
O
}
/v3_mci.o
${
O
}
/v3_store.o
${
O
}
/vbbsutil.o
${
O
}
/vbbs.o
${
O
}
/vbbs_db.o
${
O
}
/filewrap.o
LIBS
=
../lib/lib
ODoors
.a
LIBS
=
-l
ODoors
ifeq
(${BUILD},debug)
CFLAGS
=
-g
-Wall
-O
-I
.
-I
../include
CPPFLAGS
=
-g
-Wall
-O
-I
.
-I
../include
LDFLAGS
=
-g
CFLAGS
=
-g
-Wall
-O
-I
.
-I
../include
-I
../../../odoors
-I
../../../xpdev
-DHAS_INTTYPES_H
CPPFLAGS
=
-g
-Wall
-O
-I
.
-I
../include
-I
../../../odoors
-I
../../../xpdev
-DHAS_INTTYPES_H
LDFLAGS
=
-g
-L
../../../odoors/libs-
`
uname
`
QUIET
:=
else
CFLAGS
=
-O2
-Wall
-fno-common
-fomit-frame-pointer
-I
.
-I
../include
CPPFLAGS
=
-O2
-Wall
-fno-common
-fomit-frame-pointer
-fno-exceptions
-fno-rtti
-I
.
-I
../include
LDFLAGS
=
CFLAGS
=
-O2
-Wall
-fno-common
-fomit-frame-pointer
-I
.
-I
../include
-I
../../../odoors
-I
../../../xpdev
-DHAS_INTTYPES_H
CPPFLAGS
=
-O2
-Wall
-fno-common
-fomit-frame-pointer
-fno-exceptions
-fno-rtti
-I
.
-I
../include
-I
../../../odoors
-I
../../../xpdev
-DHAS_INTTYPES_H
LDFLAGS
=
-L
../../../odoors/libs-
`
uname
`
QUIET
:=
@
endif
...
...
@@ -48,7 +48,7 @@ bin:
obj
:
mkdir
obj
${TARGET}
:
bin obj ${OBJS}
${LIBS}
${TARGET}
:
bin obj ${OBJS}
@
echo
linking
$@
${
QUIET
}${
LD
}
${
LDFLAGS
}
${
OBJS
}
${
LIBS
}
-o
${
TARGET
}
${
QUIET
}${
CP
}
${
TARGET
}
../build
...
...
@@ -61,6 +61,10 @@ ${O}/%.o : %.c
@
echo
Compiling
$<
${
QUIET
}${
CC
}
-c
${
CFLAGS
}
$<
-o
$@
${O}/%.o
:
../../../xpdev/%.c
@
echo
Compiling
$<
${
QUIET
}${
CC
}
-c
${
CFLAGS
}
$<
-o
$@
${O}/%.o
:
%.cpp
@
echo
$<
${
QUIET
}${
CC
}
-c
${
CPPFLAGS
}
$<
-o
$@
This diff is collapsed.
Click to expand it.
src/doors/vbbs/src/v3_mci.c
+
2
−
2
View file @
e4978284
...
...
@@ -527,12 +527,12 @@ void u32_2A(int numa, u32 lnum)
#else // VBBS_WIN32 && VBBS_LINUX
void
s32_2A
(
int
numa
,
s32
lnum
)
{
sprintf
(
A
[
numa
],
"%d"
,
lnum
);
sprintf
(
A
[
numa
],
"%d"
,
(
int32_t
)
lnum
);
}
void
u32_2A
(
int
numa
,
u32
lnum
)
{
sprintf
(
A
[
numa
],
"%u"
,
lnum
);
sprintf
(
A
[
numa
],
"%u"
,
(
uint32_t
)
lnum
);
}
#endif
...
...
This diff is collapsed.
Click to expand it.
src/doors/vbbs/src/v3_store.c
+
1
−
1
View file @
e4978284
...
...
@@ -442,7 +442,7 @@ void buy_computer()
char
ch1
,
kys
[
23
]
=
"Q"
;
for
(
i
=
1
;
i
<
23
;
i
++
)
kys
[
i
]
=
(
char
)
NULL
;
kys
[
i
]
=
0
;
text
(
"0740"
);
for
(
i
=
0
;
i
<
MAX_CPU
;
i
++
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment