Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CMake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
André Pedro
CMake
Commits
a2ff3928
Commit
a2ff3928
authored
17 years ago
by
Bill Hoffman
Browse files
Options
Downloads
Patches
Plain Diff
ENH: add f stuff to avoid warnings
parent
d9d40942
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Source/cmGlobalGenerator.cxx
+3
-3
3 additions, 3 deletions
Source/cmGlobalGenerator.cxx
with
3 additions
and
3 deletions
Source/cmGlobalGenerator.cxx
+
3
−
3
View file @
a2ff3928
...
...
@@ -681,7 +681,7 @@ bool cmGlobalGenerator::IsDependedOn(const char* project,
void
cmGlobalGenerator
::
Configure
()
{
this
->
FirstTimeProgress
=
0.0
;
this
->
FirstTimeProgress
=
0.0
f
;
// Delete any existing cmLocalGenerators
unsigned
int
i
;
for
(
i
=
0
;
i
<
this
->
LocalGenerators
.
size
();
++
i
)
...
...
@@ -908,7 +908,7 @@ int cmGlobalGenerator::TryCompile(const char *srcdir, const char *bindir,
// we are in the first time progress and we have no
// idea how long it will be. So, just move 1/10th of the way
// there each time, and don't go over 95%
this
->
FirstTimeProgress
+=
((
1.0
-
this
->
FirstTimeProgress
)
/
30.0
);
this
->
FirstTimeProgress
+=
((
1.0
f
-
this
->
FirstTimeProgress
)
/
30.0
f
);
if
(
this
->
FirstTimeProgress
>
0.95
f
)
{
this
->
FirstTimeProgress
=
0.95
f
;
...
...
@@ -1080,7 +1080,7 @@ void cmGlobalGenerator::AddLocalGenerator(cmLocalGenerator *lg)
// we are in the first time progress and we have no
// idea how long it will be. So, just move half way
// there each time, and don't go over 95%
this
->
FirstTimeProgress
+=
((
1.0
-
this
->
FirstTimeProgress
)
/
30.0
);
this
->
FirstTimeProgress
+=
((
1.0
f
-
this
->
FirstTimeProgress
)
/
30.0
f
);
if
(
this
->
FirstTimeProgress
>
0.95
f
)
{
this
->
FirstTimeProgress
=
0.95
f
;
...
...
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