Commit Graph

216 Commits

Author SHA1 Message Date
Uwe
b65cbdef05 [3rdParty] fix typo
to silence the spellcheking CI
2022-02-05 14:32:26 +01:00
wmayer
6bee73532e smesh: suppress -Wcast-function-type 2022-02-05 14:13:05 +01:00
wmayer
2f5e499868 kdtree++: modernize C++11 2022-01-26 21:54:29 +01:00
marioalexis
4205af8d4d libE57Format: Fix warnings -Wignored-qualifiers and -Wcomment 2022-01-25 11:38:34 +01:00
wmayer
ee95ccc13a E57Format: respect GNU install dirs 2021-12-19 10:46:56 +01:00
Benjamin Alterauge
44d872ddb9 Include Limits
See https://forum.freecadweb.org/viewtopic.php?f=4&t=64567
2021-12-17 21:20:48 +01:00
wmayer
0f96b7c5a9 E57Format: for CMake version < 3.11 add_library requires explicit list of source files 2021-12-17 11:18:24 +01:00
wmayer
105836293e libE57Format: fix warnings -Wunused-parameter 2021-12-15 22:14:57 +01:00
Benjamin Alterauge
c569f11ec2 Add the libE57Format to 3rdParty
The library supports the E57 file format. Source code is clone from the fork https://github.com/asmaloney/libE57Format. The licenses are BSL-1.0 and MIT.
2021-12-15 22:14:57 +01:00
wmayer
91a8ffd31c SMESH: port to OCCT 7.6 2021-10-11 00:30:22 +02:00
wmayer
6fad3d0392 SMESH: [skip ci] do not undefine the guard of a header file 2021-10-07 11:10:12 +02:00
wmayer
8cbd92d874 port to MSYS2/clang 2021-09-19 19:49:44 +02:00
wmayer
aba9ef731c Make smesh compile with vtk9 2021-05-09 10:53:13 +02:00
wmayer
80415446cf CMake: disable moc for some targets and fix failure for existing builds 2021-04-19 15:13:17 +02:00
wmayer
7b3b9767c5 smesh: [skip ci] suppress C++17 related warnings about extensions 2021-03-27 13:55:21 +01:00
wmayer
402a009f42 SMESH: [skip ci] fix -Wdelete-non-virtual-dtor 2020-12-29 10:36:07 +01:00
wmayer
f0aba7a561 MSVC: [skip ci] make working with C++17 compiler 2020-11-09 16:13:34 +01:00
wmayer
7fa3488aa9 smesh: [skip ci] comment out call of std::set_unexpected that has been removed in C++17 2020-11-08 10:47:08 +01:00
wmayer
0d352cba43 smesh: [skip ci] comment out call of std::set_unexpected that has been removed in C++17 2020-11-07 19:47:11 +01:00
wmayer
b945573ec8 macOS: suppress some warnings 2020-10-18 16:18:34 +02:00
wmayer
2f5d8085bf smesh: [skip ci] port Netgen plugin to v6.2 2020-07-23 16:22:54 +02:00
wmayer
68715af145 smesh: [skip ci] port Netgen plugin to v6.2 2020-07-22 20:32:34 +02:00
wmayer
73b900386c smesh: [skip ci] port Netgen plugin to v6.2 2020-07-22 17:35:55 +02:00
wmayer
03fa5cf92b Netgen: [skip ci] force C++17 if netgen >= 6.2 is used 2020-07-15 10:50:16 +02:00
wmayer
730154a684 boost 1.73.0: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated 2020-06-12 17:51:33 +02:00
wmayer
173269422d C++: [skip ci] fix -Wredundant-move
This change was part of #2720 but has been skipped in order to not complicate a pending PR of an upgrade of the SMESH sources.
However, this other PR #2706 has been closed by its author.
Since this warning is reported on latest Fedora version using gcc 10 it will be fixed now.
2020-06-12 13:32:59 +02:00
wmayer
2a9e236bfc gcc: [skip ci] suppress gcc 10 warnings in smesh code 2020-06-08 11:40:16 +02:00
wmayer
a88e38b057 gcc: suppress gcc warnings in smesh code 2020-05-26 15:03:56 +02:00
wmayer
f01cc80fc4 gcc: suppress gcc warnings in smesh code 2020-05-26 12:01:40 +02:00
wmayer
be8634d05c Handle clang 10 warnings:
+ fix -Wtautological-bitwise-compare
+ fix -Wimplicit-int-float-conversion
+ fix -Wmisleading-indentation
+ fix -Wrange-loop-construct
+ suppress -Wdeprecated-copy of 3rd party libs
2020-05-25 15:34:43 +02:00
Eric Trombly
22c8d390a5 add docstring to __init__.py 2020-04-14 10:44:15 -05:00
Eric Trombly
24e681c63b add lazyloader support
lazy_loader is copied to Ext now, modified external imports to lazy_load

add a few more imports to be lazy loaded, think the install path is correct now

[TD]"<" symbol embedded in html

revert changes to path modules for testing

use lazyloader in PathAreaOp.py

add back in deferred loading

temp change to print error message in tests

temp change to print error message in tests

add _init__.py to lazy_loader

make install in CMakeLists.txt one line
2020-04-13 21:14:34 -05:00
wmayer
25bc2af307 reset define NETGEN_PYTHON to avoid hard dependency to pybind11 2019-11-02 11:29:10 +01:00
howetuft
3e5d3460c7 Fix -Wdeprecated-copy warnings (rule of 5/3/0)
Fix -Wdeprecated-copy warnings in various places. Consists in enforcing
rule of five/three/zero (https://en.cppreference.com/w/cpp/language/rule_of_three)
mainly by deleting redundant copy constructors or copy assignment operators
that replicate default constructors/operators, or more rarely by adding
missing copy/move constructors/operators.
See also https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c20-if-you-can-avoid-defining-default-operations-do
2019-10-20 17:02:17 +02:00
wmayer
9fa56345cf core system
force strict ISO C++ (-Wpedantic)
TODO: still a lot of variadic macros are not valid ISO C++
2019-09-18 01:01:14 +02:00
wmayer
05ff952d02 suppress -Wmacro-redefined warnings caused by netgen headers 2019-09-08 18:00:52 +02:00
wmayer
d05ae18340 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
wmayer
8e582d68c4 use GNU directory structure on non-Windows systems 2019-08-22 16:57:11 +02:00
wmayer
6795a28c99 add missing std:: namespace to build on Debian 10 2019-08-21 00:12:50 +02:00
howetuft
11a74bd226 SMDS_VolumeTool.cpp: Fix compilation warning
Creating an explicit copy assignment operator for class XYZ, as implicit copy assignment operator is deprecated (-Wdeprecated-copy)
2019-08-03 13:36:30 +02:00
Yorik van Havre
a6334a4bfd Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
wmayer
95ab3281c1 suppress warnings caused by netgen 2019-06-23 22:53:51 +02:00
wmayer
d43ca8a692 Fix a couple of gcc compiler warnings:
-Wint-in-bool-context
-Wunused-function
2019-06-23 15:35:49 +02:00
wmayer
cb53719821 Fix a couple of clang compiler warnings:
-Wunused-variable
-Winconsistent-missing-override
-Wdelete-non-virtual-dtor
-Wunused-private-field
-Wformat
2019-06-23 15:19:12 +02:00
wmayer
3fa43e8b9c fix some compiler warnings 2019-05-26 14:35:09 +02:00
MA-DEVELOP\apeltauer
48d64b4d5e replace endl with std::endl 2019-04-04 23:10:58 +02:00
Stian Skjelstad
62d5dd958f Git commit ea0cc96c15 forgot to remove CMakeList information about ANN when removing the library. 2019-03-31 10:06:50 +02:00
Stian Skjelstad
0905206018 Detection of NETGEN_VERSION is needed if using Netgen package provided cmake file too.
Do not overwrite NETGEN_VERSION that might be cached. Use a new variable instead, NETGEN_VERSION_C.

Use cmake internal system to specify std=c++14, else you can end up with  `c++ -DFOO -std=c++14 -Ibar -std=c++11`, and the latter is used.
2019-01-24 14:52:21 +01:00
Stian Skjelstad
6e2990ce6d Netgen provided cmake file, has the include directories to use in plural.
Netgen provided cmake file, and the internal detection, had different casing
for the _FOUND variable

When detecting the Netgen include-directories, we only want the /include in
addition to the global one. To include a given header file, specify which
part of the library, or use the one from the project/include directory.
2019-01-24 14:52:03 +01:00
cclauss
00d8f39840 Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00