Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
f168108f
Commit
f168108f
authored
Feb 14, 2012
by
Mark Florisson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add -pedantic and -std=c89 flags to gcc in runtests
parent
3d56e109
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
runtests.py
runtests.py
+5
-0
No files found.
runtests.py
View file @
f168108f
...
@@ -598,7 +598,12 @@ class CythonCompileTestCase(unittest.TestCase):
...
@@ -598,7 +598,12 @@ class CythonCompileTestCase(unittest.TestCase):
build_extension.finalize_options()
build_extension.finalize_options()
if COMPILER:
if COMPILER:
build_extension.compiler = COMPILER
build_extension.compiler = COMPILER
ext_compile_flags = CFLAGS[:]
ext_compile_flags = CFLAGS[:]
compiler = COMPILER or sysconfig.get_config_var('CC')
if self.language == 'c' and compiler == 'gcc':
ext_compile_flags.extend(['-std=c89', '-pedantic'])
if build_extension.compiler == 'mingw32':
if build_extension.compiler == 'mingw32':
ext_compile_flags.append('-Wno-format')
ext_compile_flags.append('-Wno-format')
if extra_extension_args is None:
if extra_extension_args is None:
...
...
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