Commit Graph

204 Commits

Author SHA1 Message Date
wmayer
0cfea3fee3 Make smesh compile with vtk9 2021-05-09 10:53:13 +02:00
wmayer
ee98ed5baf CMake: disable moc for some targets and fix failure for existing builds 2021-04-19 15:13:17 +02:00
wmayer
5dacdd820e smesh: [skip ci] suppress C++17 related warnings about extensions 2021-03-27 13:55:21 +01:00
wmayer
ed3acd466d SMESH: [skip ci] fix -Wdelete-non-virtual-dtor 2020-12-29 10:36:07 +01:00
wmayer
59c50053a6 MSVC: [skip ci] make working with C++17 compiler 2020-11-09 16:13:34 +01:00
wmayer
694eebf126 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
c11a36386b 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
54e29ac2b8 macOS: suppress some warnings 2020-10-18 16:18:34 +02:00
wmayer
6ab4bb5a18 smesh: [skip ci] port Netgen plugin to v6.2 2020-07-23 16:22:54 +02:00
wmayer
87fcebd538 smesh: [skip ci] port Netgen plugin to v6.2 2020-07-22 20:32:34 +02:00
wmayer
3e86f98d7a smesh: [skip ci] port Netgen plugin to v6.2 2020-07-22 17:35:55 +02:00
wmayer
f2aa812313 Netgen: [skip ci] force C++17 if netgen >= 6.2 is used 2020-07-15 10:50:16 +02:00
wmayer
4ec45b545e 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
449edf9854 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
42fcda5d39 gcc: [skip ci] suppress gcc 10 warnings in smesh code 2020-06-08 11:40:16 +02:00
wmayer
078432af45 gcc: suppress gcc warnings in smesh code 2020-05-26 15:03:56 +02:00
wmayer
de847a553f gcc: suppress gcc warnings in smesh code 2020-05-26 12:01:40 +02:00
wmayer
300e887480 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
7bd2ec425e add docstring to __init__.py 2020-04-14 10:44:15 -05:00
Eric Trombly
7fe094ac02 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
d276cc8d7a reset define NETGEN_PYTHON to avoid hard dependency to pybind11 2019-11-02 11:29:10 +01:00
howetuft
b858757bb2 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
b50b21576e 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
5e9891dcb7 suppress -Wmacro-redefined warnings caused by netgen headers 2019-09-08 18:00:52 +02:00
wmayer
28f74290b2 fix -Wreturn-std-move 2019-09-07 15:19:28 +02:00
wmayer
218d849355 use GNU directory structure on non-Windows systems 2019-08-22 16:57:11 +02:00
wmayer
851e3d9847 add missing std:: namespace to build on Debian 10 2019-08-21 00:12:50 +02:00
howetuft
7c48ad754c 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
8048f93627 Cleanup in doxygen stuff 2019-07-15 23:20:52 -03:00
wmayer
78c21009a0 suppress warnings caused by netgen 2019-06-23 22:53:51 +02:00
wmayer
da6155d0ae Fix a couple of gcc compiler warnings:
-Wint-in-bool-context
-Wunused-function
2019-06-23 15:35:49 +02:00
wmayer
85270f5cd3 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
6462005da1 fix some compiler warnings 2019-05-26 14:35:09 +02:00
MA-DEVELOP\apeltauer
aff8a7f807 replace endl with std::endl 2019-04-04 23:10:58 +02:00
Stian Skjelstad
ee29960c7d Git commit ea0cc96c15 forgot to remove CMakeList information about ANN when removing the library. 2019-03-31 10:06:50 +02:00
Stian Skjelstad
80f82b59db 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
4c38d81d90 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
51ab27f54a Fix file, long, raw_input, and xrange for Python 3 2019-01-07 15:42:37 +01:00
wmayer
5ff383b46c fix gcc8 build failure 2018-11-02 18:57:43 +01:00
Bernd Hahnebach
b0f65e45ba FEM: SMESH, update internal version number 2018-09-26 22:42:13 +02:00
wmayer
e31cac568e revert changes of SMESH_Gen class interface of bundled SMESH 2018-08-18 16:13:10 +02:00
Markus Lampert
0b40519f3f Changed all catch types to references for polymorphic exceptions. 2018-08-08 15:45:30 +02:00
wmayer
2e4d2dff03 fix possible UNICODE related build failure due to OCCT cmake flags 2018-08-06 12:29:43 +02:00
wmayer
fc47266829 fix memory leak in SMDS_MeshNode::getCoord() 2018-06-02 15:33:07 +02:00
wmayer
753f514d3b proper fix to keep nodes order intact when exporting to UNV format
For more detailed information have a look here:
https://forum.freecadweb.org/viewtopic.php?f=10&t=27744&sid=9a966f15219a156c83f12be7ac055791&start=70#p233460
2018-05-13 18:05:07 +02:00
Gabriel Souza Franco
4594583613 Fix compilation with GCC 8 2018-05-11 10:20:35 -03:00
Mateusz Skowroński
23cdde88e0 Fix some GCC 7 warnings:
* dynamic exception specifications are deprecated [-Wdeprecated]
* this statement may fall through [-Wimplicit-fallthrough=]
2017-12-05 17:22:00 +01:00
wmayer
8c7bb0cd55 fix warning 2017-11-14 21:47:56 +01:00
wmayer
04ea295280 add kd tree class
add mesh decimation algorithm
2017-11-14 14:17:19 +01:00
wmayer
b562140400 fix clang warnings in some 3rd party libs 2017-09-24 12:22:53 +02:00