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
eda64b82
Commit
eda64b82
authored
13 years ago
by
Bastien Gorissen
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation with latest GCC
parent
fb7b0467
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Geo/CustomContainer.h
+4
-3
4 additions, 3 deletions
Geo/CustomContainer.h
with
4 additions
and
3 deletions
Geo/CustomContainer.h
+
4
−
3
View file @
eda64b82
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
#include
<cstdlib>
#include
<cstdlib>
#include
<cstring>
#include
<cstring>
#include
<cstddef>
#include
"GmshMessage.h"
#include
"GmshMessage.h"
...
@@ -269,7 +270,7 @@ class FaceAllocator
...
@@ -269,7 +270,7 @@ class FaceAllocator
struct
Face8
struct
Face8
{
{
T
faces
[
8
];
T
faces
[
8
];
void
set_pool_prev
(
void
*
const
p
)
void
set_pool_prev
(
void
*
const
p
)
{
{
*
reinterpret_cast
<
void
**>
(
faces
)
=
p
;
*
reinterpret_cast
<
void
**>
(
faces
)
=
p
;
}
}
...
@@ -286,7 +287,7 @@ class FaceAllocator
...
@@ -286,7 +287,7 @@ class FaceAllocator
struct
Face16
struct
Face16
{
{
T
faces
[
16
];
T
faces
[
16
];
void
set_pool_prev
(
void
*
const
p
)
void
set_pool_prev
(
void
*
const
p
)
{
{
*
reinterpret_cast
<
void
**>
(
faces
)
=
p
;
*
reinterpret_cast
<
void
**>
(
faces
)
=
p
;
}
}
...
@@ -490,7 +491,7 @@ class FaceAllocator
...
@@ -490,7 +491,7 @@ class FaceAllocator
static
ptrdiff_t
offset6
;
static
ptrdiff_t
offset6
;
static
ptrdiff_t
offset8
;
static
ptrdiff_t
offset8
;
static
ptrdiff_t
offset16
;
static
ptrdiff_t
offset16
;
};
};
// Definitions for static data members of class FaceAllocator
// Definitions for static data members of class FaceAllocator
...
...
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