Commit Graph

11 Commits

Author SHA1 Message Date
PhoneDroid
a2d8b8bf6f [ Mesh ]: Update SPDX License Identifiers 2025-11-02 15:49:56 -06: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
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
Uwe
2bde1e6923 [Mesh] remove superfluous nullptr checks 2022-07-18 02:37: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
David Pello
21ffb0305f BSD Porting fixes, conditional compilation and use of gettimeofday() 2016-05-15 12:08:43 +02:00
wmayer
dc2dc8899a WildMagic: Remove -Wunused-result warnings. 2015-09-11 18:20:49 +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