Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6d856782
Commit
6d856782
authored
Jul 26, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Print a warning when a generated import library doesn't export
anything useful.
parent
52b5842f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
spec32.c
tools/winebuild/spec32.c
+7
-3
No files found.
tools/winebuild/spec32.c
View file @
6d856782
...
...
@@ -837,7 +837,7 @@ void BuildSpec32File( FILE *outfile, DLLSPEC *spec )
void
BuildDef32File
(
FILE
*
outfile
,
DLLSPEC
*
spec
)
{
const
char
*
name
;
int
i
;
int
i
,
total
;
if
(
spec_file_name
)
fprintf
(
outfile
,
"; File generated automatically from %s; do not edit!
\n\n
"
,
...
...
@@ -851,18 +851,21 @@ void BuildDef32File( FILE *outfile, DLLSPEC *spec )
/* Output the exports and relay entry points */
for
(
i
=
0
;
i
<
spec
->
nb_entry_points
;
i
++
)
for
(
i
=
total
=
0
;
i
<
spec
->
nb_entry_points
;
i
++
)
{
const
ORDDEF
*
odp
=
&
spec
->
entry_points
[
i
];
int
is_data
=
0
;
if
(
!
odp
)
continue
;
if
(
odp
->
type
==
TYPE_STUB
)
continue
;
if
(
odp
->
name
)
name
=
odp
->
name
;
else
if
(
odp
->
export_name
)
name
=
odp
->
export_name
;
else
continue
;
if
(
!
(
odp
->
flags
&
FLAG_PRIVATE
))
total
++
;
if
(
odp
->
type
==
TYPE_STUB
)
continue
;
fprintf
(
outfile
,
" %s"
,
name
);
switch
(
odp
->
type
)
...
...
@@ -900,6 +903,7 @@ void BuildDef32File( FILE *outfile, DLLSPEC *spec )
if
(
odp
->
flags
&
FLAG_PRIVATE
)
fprintf
(
outfile
,
" PRIVATE"
);
fprintf
(
outfile
,
"
\n
"
);
}
if
(
!
total
)
warning
(
"%s: Import library doesn't export anything
\n
"
,
spec
->
file_name
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment