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
aee8ebe1
Commit
aee8ebe1
authored
20 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
trying to fix compile with old g++ 2.95
parent
dc79ebd7
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Fltk/GmshServer.h
+3
-3
3 additions, 3 deletions
Fltk/GmshServer.h
Fltk/Solvers.cpp
+5
-1
5 additions, 1 deletion
Fltk/Solvers.cpp
configure
+1
-0
1 addition, 0 deletions
configure
configure.in
+2
-1
2 additions, 1 deletion
configure.in
with
11 additions
and
5 deletions
Fltk/GmshServer.h
+
3
−
3
View file @
aee8ebe1
...
@@ -61,6 +61,9 @@ class GmshServer {
...
@@ -61,6 +61,9 @@ class GmshServer {
CLIENT_OPTION_3
=
102
,
CLIENT_OPTION_3
=
102
,
CLIENT_OPTION_4
=
103
,
CLIENT_OPTION_4
=
103
,
CLIENT_OPTION_5
=
104
}
MessageType
;
CLIENT_OPTION_5
=
104
}
MessageType
;
// FIXME: this should be removed
static
int
init
,
s
;
private
:
private
:
int
_maxdelay
,
_portno
,
_sock
;
int
_maxdelay
,
_portno
,
_sock
;
char
*
_sockname
;
char
*
_sockname
;
...
@@ -84,9 +87,6 @@ class GmshServer {
...
@@ -84,9 +87,6 @@ class GmshServer {
~
GmshServer
(){}
~
GmshServer
(){}
int
StartClient
(
char
*
command
,
char
*
sockname
=
NULL
)
int
StartClient
(
char
*
command
,
char
*
sockname
=
NULL
)
{
{
static
int
init
=
0
;
static
int
s
;
_sockname
=
sockname
;
_sockname
=
sockname
;
// no socket? launch the command directly
// no socket? launch the command directly
...
...
This diff is collapsed.
Click to expand it.
Fltk/Solvers.cpp
+
5
−
1
View file @
aee8ebe1
// $Id: Solvers.cpp,v 1.3
5
2005-0
1
-1
6 20:41
:3
8
geuzaine Exp $
// $Id: Solvers.cpp,v 1.3
6
2005-0
3
-1
4 06:32
:3
3
geuzaine Exp $
//
//
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -22,6 +22,10 @@
...
@@ -22,6 +22,10 @@
#include
"Gmsh.h"
#include
"Gmsh.h"
#include
"GmshServer.h"
#include
"GmshServer.h"
// FIXME: this should be removed
int
GmshServer
::
init
=
0
;
int
GmshServer
::
s
;
#include
<sys/types.h>
#include
<sys/types.h>
#include
<sys/socket.h>
#include
<sys/socket.h>
#include
<sys/stat.h>
#include
<sys/stat.h>
...
...
This diff is collapsed.
Click to expand it.
configure
+
1
−
0
View file @
aee8ebe1
...
@@ -3872,6 +3872,7 @@ case "$UNAME" in
...
@@ -3872,6 +3872,7 @@ case "$UNAME" in
;;
;;
OSF1
*
)
OSF1
*
)
FLAGS
=
"-DHAVE_NO_SOCKLEN_T
${
FLAGS
}
"
if
test
"x
${
CXX
}
"
=
"xcxx"
;
then
if
test
"x
${
CXX
}
"
=
"xcxx"
;
then
FLAGS
=
"-D__USE_STD_IOSTREAM
${
FLAGS
}
"
FLAGS
=
"-D__USE_STD_IOSTREAM
${
FLAGS
}
"
fi
fi
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
2
−
1
View file @
aee8ebe1
dnl $Id: configure.in,v 1.6
0
2005-0
1-21 17:29:27
geuzaine Exp $
dnl $Id: configure.in,v 1.6
1
2005-0
3-14 06:32:33
geuzaine Exp $
dnl
dnl
dnl Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
dnl Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
dnl
dnl
...
@@ -382,6 +382,7 @@ case "$UNAME" in
...
@@ -382,6 +382,7 @@ case "$UNAME" in
;;
;;
OSF1*)
OSF1*)
FLAGS="-DHAVE_NO_SOCKLEN_T ${FLAGS}"
if test "x${CXX}" = "xcxx" ; then
if test "x${CXX}" = "xcxx" ; then
FLAGS="-D__USE_STD_IOSTREAM ${FLAGS}"
FLAGS="-D__USE_STD_IOSTREAM ${FLAGS}"
fi
fi
...
...
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