PhoneDroid
a2d8b8bf6f
[ Mesh ]: Update SPDX License Identifiers
2025-11-02 15:49:56 -06:00
Benjamin Nauck
cd1209e146
Mesh: Add #include <limits> where used
2025-03-31 23:51:52 +02:00
Benjamin Nauck
99bb999deb
Mesh: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:38 +01:00
Jacob Oursland
1ac989e8e3
Mesh: Add template type to WM4 TRational variables.
2024-11-26 11:10:13 -05:00
Jacob Oursland
03eb6bdac3
Mesh: move counter declaration to loop-local.
2024-11-26 11:10:13 -05:00
wmayer
127f935711
Fix several compiler warnings
...
* -Wmaybe-uninitialized
* -Wunused-parameter
* -Wunused-variable
* -Wnonnull
* -Wstringop-truncation
* -Wstringop-overflow
2024-06-19 21:14:23 -05:00
wmayer
4263ab1937
C++: replace deprecated vsprintf and sprintf
...
With future C++ compilers the methods vsprintf and sprintf are declared as deprecated due to security issues.
They are replaced with the secure counterpart of the fmt library
Fixes the compiler warnings -Wdeprecated-declarations
2024-04-03 10:04:56 +02:00
wmayer
ed573fcf86
Points: fix many linter warnings
2024-03-12 18:02:33 +01:00
wmayer
eb52c5fa9a
Mesh: disable potentially unsafe code in Wm4 library
2023-10-19 15:10:09 +02:00
liukaiwen
de63e13adb
fix: macro WIN32 is deprecated, but is implicit defined by some certain environment including visual studio
2023-03-22 13:29:35 +01:00
wmayer
91613cc24c
Mod: fix some compiler warnings:
...
* QString::indexOf() is now marked as [[nodiscard]]
* QApplication::fontMetrics() is deprecated, use the constructor of QFontMetricsF
* fix -Wunused-result
* fix -Wunused-but-set-variable
2022-12-31 21:54:45 +01:00
wmayer
bca27b0f6b
Mesh: [skip ci] add export macro to Wm4 constants
2022-11-10 10:23:25 +01:00
Uwe
2bde1e6923
[Mesh] remove superfluous nullptr checks
2022-07-18 02:37:33 +02:00
mosfet80
c86f0ce670
Remove old msc ver. Freecad 0.20 require 64 bit and windows 7 or higher. For this reason, msc libraries less than 1800 will no longer be used. ( #7036 )
...
* remove msc<1800
2022-06-28 00:42:33 +02:00
wmayer
59e605e6b8
Mesh: modernize C++11
...
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-26 18:05:02 +01:00
Noah
c482e90efc
Mesh: fix WildMagic4 build on Darwin AArch64 (Apple M1)
...
A previous fix from 2012 excluded the x86_64 platfrom from using 32-bit Carbon APIs.
- https://tracker.freecadweb.org/view.php?id=656 (WildMagic4 doesn't build on 64-bit Mac OS)
Apply the same fix for AArch64 to ensure that the Mesh module can be built on Apple M1.
2021-10-06 22:47:48 +02:00
howetuft
5807ee2022
Fix -Wclass-memaccess warning
...
Replace C-style memset with C++ value-initialization/assignment (smarter and safer: see https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#slcon3-avoid-bounds-errors )
2019-11-18 12:32:27 +01:00
Yorik van Havre
a6334a4bfd
Cleanup in doxygen stuff
2019-07-15 23:20:52 -03:00
luz.paz
9167064fc1
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
wmayer
f6e1cb6025
fix -Wextra in Mesh
2016-09-23 17:24:00 +02:00
wmayer
8c670f81b1
+ add WildMagic algorithm to compute minimum volume oriented box
2016-07-02 17:01:56 +02:00
David Pello
21ffb0305f
BSD Porting fixes, conditional compilation and use of gettimeofday()
2016-05-15 12:08:43 +02:00
Mateusz Skowroński
6942c23895
Qt4's qglobal.h defined TRUE and FALSE. Qt5 does not do it anymore. Replace it with true and false.
...
158f39ec78
This change is Qt4/Qt5 neutral.
2016-01-05 16:43:33 +01:00
wmayer
7548e4cb30
+ fix clang warnings
2015-10-02 23:32:01 +02:00
wmayer
dc2dc8899a
WildMagic: Remove -Wunused-result warnings.
2015-09-11 18:20:49 +02:00
Alexander Golubev
8fdf8367ad
Mod/Mesh: suppress bunch of warnings on C++11 usage
...
Warnings was like:
src/Mod/Mesh/App/WildMagic4/Wm4Vector4.cpp|21 col 49| warning: first declaration of static data member specialization of 'ZERO' outside namespace 'Wm4' is a C++11 extension [-Wc++11-extensions]
2015-08-29 18:36:00 +02:00
wmayer
6385d99290
0000702: Patch to fix compilation of FreeCAD with gcc 4.7
2012-05-13 13:11:07 +02:00
wmayer
88e3262d6a
0000656: WildMagic4 doesn't build on 64-bit Mac OS
2012-04-02 09:44:37 +02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00