Commit Graph

76 Commits

Author SHA1 Message Date
wmayer
4d776eb03f + fix warning in smesh headers 2015-09-11 18:52:26 +02:00
Alexander Golubev
a8634f09fc 3rdParty/salomesmesh: suppress several small warnings
Warnings was about a struct declared as type and as usual added several
additional brackets.
2015-08-29 18:36:01 +02:00
Alexander Golubev
c3dfc7e30c 3rdParty/salomesmesh: fix a couple error-prone warnings
The Warnings was about hiding bases class RemoveElement() and
RemoveFreeElement() virtual methodes which may caused calling wrong
function by bases class pointer.
2015-08-29 18:36:01 +02:00
Alexander Golubev
774dac17ac salomesmesh: suppress several warnings
Warning was like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Mesh.cpp|1028 col 5| warning: add explicit braces to avoid dangling else [-Wdangling-else]
src/3rdParty/salomesmesh/src/SMESH/SMESH_MeshEditor.cpp|7377 col 27| warning: '&&' within '||' [-Wlogical-op-parentheses]
2015-08-29 18:35:53 +02:00
Alexander Golubev
b714b8f4ad salomsmesh: fix more bad conditions
warning was:
src/3rdParty/salomesmesh/src/StdMeshers/StdMeshers_Penta_3D.cpp|832 col 9| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
2015-08-29 18:35:52 +02:00
Alexander Golubev
a48d05e2bf salomesmesh: fix an error because of bad priorities in logial operators 2015-08-29 18:35:52 +02:00
Alexander Golubev
75ce52f6b8 salomesmesh: fix broken conditions
Warnings was:
src/3rdParty/salomesmesh/src/SMESH/SMESH_Mesh.cpp|617 col 19| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
||   bool isAlgo = ( !anHyp->GetType() == SMESHDS_Hypothesis::PARAM_ALGO );
||                   ^                 ~~
src/3rdParty/salomesmesh/src/Controls/SMESH_Controls.cpp|2165 col 31| warning: '&&' within '||' [-Wlogical-op-parentheses]
||       if ( !aMinStr.IsEmpty() && !aMinStr.IsIntegerValue() ||
2015-08-29 18:35:51 +02:00
Alexander Golubev
09c7179389 salomesmesh: fix function missing return statement
3rdParty/salomesmesh/src/SMESHDS/SMESHDS_GroupOnGeom.cpp|95 col 3| warning: control may reach end of non-void function [-Wreturn-type]
||   }
2015-08-29 18:35:50 +02:00
Alexander Golubev
5aa4679847 salomesmesh: fix tests in conditions
Lots of warnings like:
src/3rdParty/salomesmesh/src/SMESHDS/SMESHDS_Command.cpp|57 col 6| warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]
||         if (!myType == SMESHDS_AddNode)
||

Most of them resulted in conditions being always false.
2015-08-29 18:35:50 +02:00
Alexander Golubev
f5cd28fc53 Pivy: suppress warning
Warning was:
src/3rdParty/salomesmesh/src/SMDS/SMDS_Mesh.cpp|2303 col 31| warning:
'&&' within '||' [-Wlogical-op-parentheses]
||       !hasConstructionFaces() && elem->GetType() == SMDSAbs_Face ||
||       ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2015-08-29 18:35:49 +02:00
Alexander Golubev
4b992c27bb Pivy: fix several warnings
Warnings like:
    warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]

All was due to small defined size of the onstack array.
2015-08-29 18:35:48 +02:00
Alexander Golubev
554d8f4078 Pivy: Fix a compiller warning with wrong check
Warning was:
src/3rdParty/Pivy-0.5/coin_wrap.cpp|244969 col 15| warning: comparison of function 'time' not equal to a null pointer is always true [-Wtautological-pointer-compare]
||           if (time != NULL) {
||               ^~~~    ~~~~

This one supposed to be a copy-paste typo.
2015-08-29 18:35:46 +02:00
Przemo Firszt
ea0cc96c15 3rdParty: Remove boost-numeric, ANN and atlas
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-07-15 10:27:54 +01:00
Peter Lama
32dd867a30 Fix duplicate 'optimized' when using new libpack
When using a CLbundler libpack, PYTHON_LIBRARY has both optimized and debug
libs, but it doesn't when using an old libpack, which was the reason for
commit f5a4e680
2014-12-28 19:04:31 -08:00
Richard M. Shaw
a8d24be3b3 Update CMake config to work with smesh 6.5.3.1.
New fork of standalone smesh is available here:
https://github.com/tpaviot/smesh
2014-12-19 11:23:38 +01:00
Peter Lama
662d72b4a3 Remove cmake requirement for fortran
Commit b253a148 removed the need for a fortran compiler, but cmake
was still requiring one
2014-12-18 20:14:18 -08:00
wmayer
dd3412b159 + improve whitespaces 2014-12-01 11:36:33 +01:00
jriegel
38fc7ba604 Merge branch 'refs/heads/master' into review-CL-Bundler 2014-11-29 15:43:19 +01:00
Sebastian Hoogen
debca91e98 remove support for automake 2014-11-26 10:26:30 +01:00
jriegel
1bc6df8eac Merge branch 'refs/heads/master' into review-CL-Bundler
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-11-22 13:51:04 +01:00
wmayer
d354e21ce5 + prepare for netgen 5.x support 2014-11-20 16:30:10 +01:00
jriegel
8c1b1aa86b Port to VC12 2014-11-15 14:07:02 +01:00
Peter Lama
f13f5dc520 Add support for CLbundler created LibPack
* New 'UseLibPack' cmake file sets CMAKE_PREFIX_PATH so that find_package
  can be used for most packages.
* Mimic fc_wrap_cpp defined in other 'UseLibPack' files. Some file
  dependencies did not get set correctly otherwise.
* OCE 0.16 does not have Standard_ctype.hxx
* shfolder.h can't be used with Win SDK 7.0
2014-11-14 08:01:09 -08:00
Stefan Tröger
72cab0c002 Adaption of FreeCAD to QuarterWidget
-removes all soqtviewer references
-create a quarter adaptor class which implements missing functionality
-adopts freecad code to make use of SoRenderManager and changed View3DInventorViewer  interface
2014-09-23 10:11:11 +02:00
wmayer
470a414241 + fixes #0001715: Mefisto Mesh Fails since translated by f2c 2014-09-14 18:26:12 +02:00
wmayer
5c269996b8 + restore lost changes, improve whitspaces, suppress useless MSVC warnings 2014-08-28 12:37:42 +02:00
jriegel
c1f0f70b88 Merge remote-tracking branch 'refs/remotes/origin/jriegel/NewWinBuild' into jriegel/review-NewLibPack
Conflicts:
	src/3rdParty/salomesmesh/CMakeLists.txt
2014-08-27 15:39:00 +02:00
Ian Rees
0eec1d8e49 Updated CxImage README 2014-08-22 21:37:20 +02:00
Ian Rees
539e2d2f33 Added a quick README to src/3rdParty/CxImage 2014-08-22 15:51:58 +12:00
jriegel
492a39c19a simplify Mefisto project without Fortran part... 2014-08-21 18:34:21 +02:00
wmayer
d0a200303b + suppress annoying warnings with MSVC for SMESH sources 2014-08-20 15:31:33 +02:00
jriegel
0e53a593db cleaning up CMake file and some comments 2014-08-18 22:42:23 +02:00
jriegel
b253a14818 move MEFISTO to inline c file instead of fortran... 2014-08-18 22:32:10 +02:00
Sebastian Hoogen
1f162dec2d link against TKAdvTools only if OCCT < 6.7.3 2014-08-12 08:10:54 +02:00
jriegel
ec2198107b move build specifier in own cMake group 2014-08-03 20:53:19 +02:00
wmayer
4032a88c2d Revert "remove TKAdvTools"
This reverts commit 6843d6ad5d.
2014-08-01 15:07:27 +02:00
Sebastian Hoogen
f7193ca646 Adapt SMESH to new OCCT NCollection templates 2014-07-19 12:26:29 +02:00
Sebastian Hoogen
6843d6ad5d remove TKAdvTools 2014-07-19 12:26:29 +02:00
wmayer
6b89c03181 Add initial support for different libdir (jobermayr) 2014-05-10 12:57:38 +02:00
mdinger
337f05d56e Move python module prefix and suffix properties into macro to be set together 2014-05-03 16:00:30 +02:00
wmayer
1a7cea9b59 + Fix prefix of Python extensions built with MinGW 2014-04-30 18:22:52 +02:00
mdinger
a17cce3559 Remove unnecessary quotes. 2014-04-30 13:41:16 +02:00
mdinger
6accb6da54 Remove extra parameter. Fix FreeCAD* names. 2014-04-30 13:41:15 +02:00
mdinger
d137a9ef05 Make macro to set bin directory. Apply to ANN, Pivy, and solomesmesh. 2014-04-30 13:41:11 +02:00
wmayer
01123ba30d + fixes #0001399: Only build Salome Mesh when necessary 2014-03-15 14:02:35 +01:00
wmayer
4b49178920 + Fix usage of Pivy from old LibPacks 2014-01-26 14:19:15 +01:00
wmayer
0cbbfea23b + Shared library of Mefisto2F 2014-01-18 00:08:25 +01:00
wmayer
367d828030 + Update instructions for Mefisto2f build on Win x64 2014-01-08 22:49:19 +01:00
wmayer
66387458a7 + fixes #0001081 2013-11-10 14:26:30 +01:00
wmayer
051dc6d8a6 Fix linker error on 64-bit 2013-09-10 16:45:28 +02:00