Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenMesh
OpenMesh
Commits
417a4606
Commit
417a4606
authored
May 29, 2019
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed more clang warnings
parent
b083f32a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
22 deletions
+8
-22
cmake/ACGCompiler.cmake
cmake/ACGCompiler.cmake
+4
-3
src/OpenMesh/Core/IO/reader/BaseReader.hh
src/OpenMesh/Core/IO/reader/BaseReader.hh
+2
-7
src/OpenMesh/Core/IO/reader/OFFReader.hh
src/OpenMesh/Core/IO/reader/OFFReader.hh
+1
-6
src/OpenMesh/Core/Utils/SingletonT.hh
src/OpenMesh/Core/Utils/SingletonT.hh
+1
-6
No files found.
cmake/ACGCompiler.cmake
View file @
417a4606
...
...
@@ -62,7 +62,7 @@ if (UNIX)
# add our standard flags for Template inclusion
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-DINCLUDE_TEMPLATES"
)
list
(
APPEND ADDITIONAL_C_FLAGS
"-DINCLUDE_TEMPLATES"
)
################################################################################
# OS Defines
################################################################################
...
...
@@ -108,9 +108,10 @@ if (UNIX)
list
(
APPEND ADDITIONAL_C_FLAGS
${
COMPILER_WARNINGS
}
)
if
(
"
${
CMAKE_CXX_COMPILER
}
"
MATCHES
"
.*c
lang
.*
"
)
if
(
"
${
CMAKE_CXX_COMPILER
}
"
MATCHES
"
C
lang"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Weverything"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-c++98-compat"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-c++98-compat-pedantic"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-padded"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-old-style-cast"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-documentation-unknown-command"
)
...
...
@@ -120,7 +121,7 @@ if (UNIX)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-deprecated"
)
list
(
APPEND ADDITIONAL_CXX_FLAGS
"-Wno-weak-vtables"
)
endif
()
################################################################################
# STL Vector checks
################################################################################
...
...
src/OpenMesh/Core/IO/reader/BaseReader.hh
View file @
417a4606
...
...
@@ -48,10 +48,7 @@
//
//=============================================================================
#ifndef __BASEREADER_HH__
#define __BASEREADER_HH__
#pragma once
//=== INCLUDES ================================================================
...
...
@@ -91,7 +88,7 @@ class OPENMESHDLLEXPORT BaseReader
public:
/// Destructor
virtual
~
BaseReader
()
{}
;
virtual
~
BaseReader
()
{}
/// Returns a brief description of the file type that can be parsed.
virtual
std
::
string
get_description
()
const
=
0
;
...
...
@@ -204,5 +201,3 @@ static inline std::string &trim(std::string &_string) {
}
// namespace IO
}
// namespace OpenMesh
//=============================================================================
#endif
//=============================================================================
src/OpenMesh/Core/IO/reader/OFFReader.hh
View file @
417a4606
...
...
@@ -48,10 +48,7 @@
//
//=============================================================================
#ifndef __OFFREADER_HH__
#define __OFFREADER_HH__
#pragma once
//=== INCLUDES ================================================================
...
...
@@ -162,5 +159,3 @@ OPENMESHDLLEXPORT _OFFReader_& OFFReader();
}
// namespace IO
}
// namespace OpenMesh
//=============================================================================
#endif
//=============================================================================
src/OpenMesh/Core/Utils/SingletonT.hh
View file @
417a4606
...
...
@@ -48,10 +48,7 @@
//
//=============================================================================
#ifndef __SINGLETON_HH__
#define __SINGLETON_HH__
#pragma once
//=== INCLUDES ================================================================
...
...
@@ -145,5 +142,3 @@ private:
# include "SingletonT_impl.hh"
#endif
//=============================================================================
#endif // __SINGLETON_HH__
//=============================================================================
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment