Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nanopb
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
CodeLinaro
le
nanopb
Commits
aee518b2
Commit
aee518b2
authored
6 years ago
by
Petteri Aimonen
Browse files
Options
Downloads
Patches
Plain Diff
Further test fail fix for Windows
parent
302792f2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/SConstruct
+7
-7
7 additions, 7 deletions
tests/SConstruct
with
7 additions
and
7 deletions
tests/SConstruct
+
7
−
7
View file @
aee518b2
...
...
@@ -136,6 +136,12 @@ elif 'cl' in env['CC']:
# More strict checks on the nanopb core
env
.
Append
(
CORECFLAGS
=
'
/W4
'
)
# Disable warning about sizeof(union{}) construct that is used in
# message size macros, in e.g. multiple_files testcase. The C construct
# itself is valid, but quite rare, which causes Visual C++ to give a warning
# about it.
env
.
Append
(
CFLAGS
=
'
/wd4116
'
)
elif
'
tcc
'
in
env
[
'
CC
'
]:
# Tiny C Compiler
env
.
Append
(
CFLAGS
=
'
-Wall -Werror -g
'
)
...
...
@@ -147,13 +153,7 @@ if 'clang' in env['CXX']:
elif
'
g++
'
in
env
[
'
CXX
'
]
or
'
gcc
'
in
env
[
'
CXX
'
]:
env
.
Append
(
CXXFLAGS
=
'
-g -Wall -Werror -Wextra -Wno-missing-field-initializers
'
)
elif
'
cl
'
in
env
[
'
CXX
'
]:
env
.
Append
(
CXXFLAGS
=
'
/Zi /W2 /WX
'
)
# Disable warning about sizeof(union{}) construct that is used in
# message size macros, in e.g. multiple_files testcase. The C construct
# itself is valid, but quite rare, which causes Visual C++ to give a warning
# about it.
env
.
Append
(
CXXFLAGS
=
'
/wd4116
'
)
env
.
Append
(
CXXFLAGS
=
'
/Zi /W2 /WX /wd4116
'
)
# Now include the SConscript files from all subdirectories
import
os.path
...
...
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