Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
K
KWSys
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Shannon Booth
KWSys
Commits
95689c6b
Commit
95689c6b
authored
20 years ago
by
Andy Cedilnik
Browse files
Options
Downloads
Patches
Plain Diff
COMP: Attempt to fix warnings on SGI
parent
a586868b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SystemTools.hxx.in
+19
-13
19 additions, 13 deletions
SystemTools.hxx.in
with
19 additions
and
13 deletions
SystemTools.hxx.in
+
19
−
13
View file @
95689c6b
...
...
@@ -36,8 +36,18 @@ typedef unsigned short mode_t;
namespace @KWSYS_NAMESPACE@
{
class SystemToolsManager;
class SystemToolsTranslationMap;
class @KWSYS_NAMESPACE@_EXPORT SystemToolsManager
{
public:
SystemToolsManager();
~SystemToolsManager();
};
// This instance will show up in any translation unit that uses
// SystemTools. It will make sure SystemTools is initialized
// before it is used and is the last static object destroyed.
static SystemToolsManager SystemToolsManagerInstance;
/** \class SystemTools
* \brief A collection of useful platform-independent system functions.
...
...
@@ -355,6 +365,14 @@ private:
*/
static void ClassFinalize();
/**
* This method prevents warning on SGI
*/
SystemToolsManager* GetSystemToolsManager()
{
return &SystemToolsManagerInstance;
}
/**
* Path translation table from dir to refdir
* Each time 'dir' will be found it will be replace by 'refdir'
...
...
@@ -364,18 +382,6 @@ private:
friend class SystemToolsManager;
};
class @KWSYS_NAMESPACE@_EXPORT SystemToolsManager
{
public:
SystemToolsManager();
~SystemToolsManager();
};
// This instance will show up in any translation unit that uses
// SystemTools. It will make sure SystemTools is initialized
// before it is used and is the last static object destroyed.
static SystemToolsManager SystemToolsManagerInstance;
} // namespace @KWSYS_NAMESPACE@
/* Undefine temporary macros. */
...
...
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