Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
df5919ab
Commit
df5919ab
authored
8 years ago
by
Éric Béchet
Browse files
Options
Downloads
Patches
Plain Diff
warning hunt...
parent
6042ef50
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Common/OpenFile.cpp
+3
-0
3 additions, 0 deletions
Common/OpenFile.cpp
Plugin/CurvedBndDist.cpp
+2
-1
2 additions, 1 deletion
Plugin/CurvedBndDist.cpp
contrib/gmm/gmm_std.h
+3
-1
3 additions, 1 deletion
contrib/gmm/gmm_std.h
with
8 additions
and
2 deletions
Common/OpenFile.cpp
+
3
−
0
View file @
df5919ab
...
...
@@ -277,6 +277,7 @@ void ParseString(const std::string &str, bool inCurrentModelDir)
}
}
#if defined(HAVE_ONELAB)
static
std
::
string
getSolverForExtension
(
const
std
::
string
&
ext
)
{
for
(
int
i
=
0
;
i
<
NUM_SOLVERS
;
i
++
){
...
...
@@ -286,6 +287,7 @@ static std::string getSolverForExtension(const std::string &ext)
return
""
;
}
static
int
defineSolver
(
const
std
::
string
&
name
)
{
for
(
int
i
=
0
;
i
<
NUM_SOLVERS
;
i
++
){
...
...
@@ -295,6 +297,7 @@ static int defineSolver(const std::string &name)
opt_solver_name
(
NUM_SOLVERS
-
1
,
GMSH_SET
|
GMSH_GUI
,
name
);
return
NUM_SOLVERS
-
1
;
}
#endif
int
MergeFile
(
const
std
::
string
&
fileName
,
bool
warnIfMissing
,
bool
setBoundingBox
,
bool
importPhysicalsInOnelab
)
...
...
This diff is collapsed.
Click to expand it.
Plugin/CurvedBndDist.cpp
+
2
−
1
View file @
df5919ab
...
...
@@ -28,6 +28,8 @@ std::string GMSH_CurvedBndDistPlugin::getHelp() const
return
"Plugin(CurvedBndDist) ..."
;
}
#if defined(HAVE_OPTHOM)
static
void
addLine
(
PViewDataList
*
data
,
const
SVector3
&
p0
,
const
SVector3
&
p1
,
double
v0
,
double
v1
)
{
data
->
NbSL
++
;
...
...
@@ -69,7 +71,6 @@ static void addVP(PViewDataList *data, const SVector3 p0, SVector3 v)
}
*/
#if defined(HAVE_OPTHOM)
#include
<limits>
static
void
drawElementDist
(
PViewDataList
*
data
,
GEdge
*
edge
,
...
...
This diff is collapsed.
Click to expand it.
contrib/gmm/gmm_std.h
+
3
−
1
View file @
df5919ab
...
...
@@ -239,7 +239,9 @@ namespace gmm {
g++ can issue a warning at each usage of a function declared with this special attribute
(also works with typedefs and variable declarations)
*/
# define IS_DEPRECATED __attribute__ ((__deprecated__))
//# define IS_DEPRECATED __attribute__ ((__deprecated__))
// annoying : just including .h files e.g. gmm_precond_ildlt.h generates lots of useless warnings with new 4.6+ gcc.
# define IS_DEPRECATED
/*
the specified function is inlined at any optimization level
*/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment