Search found 4839 matches

by uwestoehr
Wed Sep 13, 2023 2:49 pm
Forum: Developers corner
Topic: [fixed] [Base] DLL interface problems with some Base:: types
Replies: 7
Views: 2413

Re: [Base] DLL interface problems with some Base:: types

Many thanks!

Confirmed fixed. But what the actual fix for this issue? I wonder because you added to disable the warnings in Sketcher but they were triggered when compiling GUI and originated from Base. Was this an issue in the test for base?
by uwestoehr
Mon Sep 11, 2023 7:43 pm
Forum: Developers corner
Topic: [fixed] [Base] DLL interface problems with some Base:: types
Replies: 7
Views: 2413

Re: [Base] DLL interface problems with some Base:: types

Don't know why they appear. Actually in the PreCompiled.h C4251 warnings are supposed to be suppressed. Yes, and I even added the suppression to the PreCompiled.h of Base. I also tried to compile with precompiled headers but the warning remain. But OK, since we ignore these warnings anyway, I can i...
by uwestoehr
Mon Sep 11, 2023 7:25 pm
Forum: Install / Compile
Topic: [fixed] [Gui] compiler warnings with SoFCBackgroundGradient.cpp
Replies: 7
Views: 2117

Re: [Gui] compiler warnings with SoFCBackgroundGradient.cpp

wmayer wrote: Sun Sep 10, 2023 2:28 pm Found an "e". Is it yours? :D
What do you mean? The warning is

Code: Select all

truncation from 'double' to 'GLfloat'
So it is about date type mismatch not a variable name.
by uwestoehr
Mon Sep 11, 2023 7:23 pm
Forum: Developers corner
Topic: [fixed] [Gui] many compiler trunctation warnings for NaviCube
Replies: 4
Views: 813

Re: [Gui] many compiler trunctation warnings for NaviCube

Please leave it in developer#s forum since compilation or installation is not broken, nor is it about stable.
It is about code design.

I remember a discussion with @adrianinsaval half a year back and there are different possible actions.
by uwestoehr
Mon Sep 11, 2023 6:48 pm
Forum: Install / Compile
Topic: [fixed] [Sketcher] unreferenced variable warning for CommandConstraints
Replies: 4
Views: 1605

Re: [Sketcher] unreferenced variable warning for CommandConstraints

chrisb wrote: Sun Sep 10, 2023 2:42 pm Moved from Developers corner.
Why did you move? All the time we reported compilation issues in the developer's forum. Some developers only look there. So it has been proven useful.

Note that I speak about development compilation, not about installation or compilation of stable.
by uwestoehr
Sun Sep 10, 2023 1:16 pm
Forum: Install / Compile
Topic: [Part] compiling handles ImportExportSettings.cpp three times
Replies: 3
Views: 547

Re: [Part] compiling handles ImportExportSettings.cpp three times

Which is correct because we have three times a file with this name in the Part module. They appear in the sub-directories IGES, OCAF and STEP. Thanks for having a look. Then I think it would be good to give the 3 files unique names, to avoid confusions. E.g. "ImportExportSettings-IGES.cpp"
by uwestoehr
Sun Sep 10, 2023 1:07 pm
Forum: Install / Compile
Topic: [fixed] [Sketcher] unreferenced variable warning for CommandConstraints
Replies: 4
Views: 1605

[fixed] [Sketcher] unreferenced variable warning for CommandConstraints

I get with today's master on a compilation with MSVC from scratch this warning for CommandConstraints.cpp:

Code: Select all

3>D:\FreeCADGit\src\Mod\Sketcher\Gui\CommandConstraints.cpp(617,35): warning C4101: 'e': unreferenced local variable
@abdullah
by uwestoehr
Sun Sep 10, 2023 12:52 pm
Forum: Install / Compile
Topic: [fixed] [Gui] unreferences variable warnings with Widgets.cpp
Replies: 3
Views: 1370

[fixed] [Gui] unreferences variable warnings with Widgets.cpp

I get with today's master on a compilation with MSVC from scratch these warnings for Widgets.cpp:

Code: Select all

1>D:\FreeCADGit\src\Gui\Widgets.cpp(1567,36): warning C4101: 'e': unreferenced local variable
1>D:\FreeCADGit\src\Gui\Widgets.cpp(1634,36): warning C4101: 'e': unreferenced local variable