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
9b60c502
Commit
9b60c502
authored
15 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
GetCommandLine clashes with windows internals
parent
8d250b1b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
Common/Gmsh.cpp
+1
-1
1 addition, 1 deletion
Common/Gmsh.cpp
Common/GmshMessage.h
+1
-1
1 addition, 1 deletion
Common/GmshMessage.h
Fltk/Main.cpp
+1
-1
1 addition, 1 deletion
Fltk/Main.cpp
with
3 additions
and
3 deletions
Common/Gmsh.cpp
+
1
−
1
View file @
9b60c502
...
...
@@ -103,7 +103,7 @@ int GmshFinalize()
int
GmshBatch
()
{
Msg
::
Info
(
"Running '%s'"
,
Msg
::
GetCommandLine
().
c_str
());
Msg
::
Info
(
"Running '%s'"
,
Msg
::
GetCommandLine
Args
().
c_str
());
Msg
::
Info
(
"Started on %s"
,
Msg
::
GetLaunchDate
().
c_str
());
OpenProject
(
GModel
::
current
()
->
getFileName
());
...
...
This diff is collapsed.
Click to expand it.
Common/GmshMessage.h
+
1
−
1
View file @
9b60c502
...
...
@@ -52,7 +52,7 @@ class Msg {
static
void
SetVerbosity
(
int
val
){
_verbosity
=
val
;
}
static
int
GetVerbosity
(){
return
_verbosity
;
}
static
std
::
string
GetLaunchDate
(){
return
_launchDate
;
}
static
std
::
string
GetCommandLine
(){
return
_commandLine
;
}
static
std
::
string
GetCommandLine
Args
(){
return
_commandLine
;
}
static
void
Fatal
(
const
char
*
fmt
,
...);
static
void
Error
(
const
char
*
fmt
,
...);
static
void
Warning
(
const
char
*
fmt
,
...);
...
...
This diff is collapsed.
Click to expand it.
Fltk/Main.cpp
+
1
−
1
View file @
9b60c502
...
...
@@ -66,7 +66,7 @@ int main(int argc, char *argv[])
Msg
::
Info
(
"Packager : %s"
,
GetGmshPackager
());
Msg
::
Info
(
"Home directory : %s"
,
CTX
::
instance
()
->
homeDir
.
c_str
());
Msg
::
Info
(
"Launch date : %s"
,
Msg
::
GetLaunchDate
().
c_str
());
Msg
::
Info
(
"Command line : %s"
,
Msg
::
GetCommandLine
().
c_str
());
Msg
::
Info
(
"Command line : %s"
,
Msg
::
GetCommandLine
Args
().
c_str
());
Msg
::
Info
(
"-------------------------------------------------------"
);
// Display the GUI immediately to have a quick "a la Windows" launch time
...
...
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