Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
e9e4dabe
Commit
e9e4dabe
authored
8 years ago
by
Stefan Schweter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable misleading-indentation warning in unicode.h (pragma for GCC >= 6)
parent
b19e139d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
unicode.h
dlib/unicode/unicode.h
+7
-1
No files found.
dlib/unicode/unicode.h
View file @
e9e4dabe
...
...
@@ -289,7 +289,10 @@ namespace dlib
}
// ----------------------------------------------------------------------------------------
#if defined(__GNUC__) && __GNUC__ >= 6
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wmisleading-indentation"
#endif
template
<
typename
T
>
bool
is_combining_char
(
const
T
ch_
...
...
@@ -478,6 +481,9 @@ namespace dlib
if
(
ch
<
0xE0100
)
return
false
;
if
(
ch
<
0xE01F0
)
return
true
;
return
false
;
}
#if defined(__GNUC__) && __GNUC__ >= 6
#pragma GCC diagnostic pop
#endif
// ----------------------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
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