Commit Graph

22 Commits

Author SHA1 Message Date
pre-commit-ci[bot] 25c3ba7338 All: Reformat according to new standard 2025-11-11 13:49:01 +01:00
PhoneDroid 2a56489feb [ Base ]: Updated SPDX 2025-10-14 10:00:04 -05:00
Markus Reitböck f0eca551b3 Base: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-14 09:47:01 +02:00
Chris Hennes 64d658e38a FreeCAD: Compiler warning fixes 2025-03-19 10:13:34 +01:00
pre-commit-ci[bot] 9d949c60aa [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-25 07:29:42 +00:00
wmayer 11eb2783de Windows: Sync StackWalker class with upstream 2024-07-30 13:09:35 -05:00
Ladislav Michl 95b37fa806 Base: Do not use else before return 2024-01-21 16:14:12 +01:00
wmayer e85c383bff Base: apply clang format 2023-11-13 12:01:26 -05:00
Uwe 9ff9d589a2 [Base, Sketcher] remove redundant boolean checks 2022-10-10 02:49:17 +02:00
Uwe 0c797ae6a8 [Base] remove unused MSC code
this part was initially part of #7036 but then accidentally reverted
2022-06-28 00:58:12 +02:00
mosfet80 d162d9371c 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
Uwe 6b09da9ab6 [Base] remove unnecessary Boolean comparisons 2022-06-19 15:17:50 +02:00
Chris Hennes 3b42d4afac Base: PR6497 move return statement to new line 2022-03-29 12:34:34 -05:00
Uwe f20840442f [Base] Quantity, Rotation, Stream: remove unused includes 2022-03-01 11:27:54 +01:00
Uwe 8cbf141ae5 fix some typos to silence the spellchecker CI 2022-02-21 13:09:29 +01:00
wmayer 4d87039635 Base: modernize C++11
* remove redundant void-arg
* use nullptr
* replace deprecated headers
2022-01-25 20:21:30 +01:00
wmayer e4be0cb36e fix VS2917 warnings: C4091, C4477, C4302, C4311 2019-03-23 16:35:40 +01:00
Unknown a8ecffb652 Misc. typo fixes
Various workbenches
2017-12-23 14:30:30 +01:00
Unknown ad457ba96b Misc. Typos 2017-10-09 19:59:33 +02:00
wmayer 30b5311aa4 + fix clang warnings, fix wrong characters 2015-10-05 17:59:19 +02:00
Mateusz Skowroński 43a4a5938c Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
wmayer 2f4ce2bbc0 + Add StackWalker to get log messages on crashes (MSVC only) 2014-09-03 11:48:34 +02:00