Skip to content

Commit 36d7542

Browse files
committed
Use C99.
Otherwise a pre-5.1 version of GCC, using std=gnu89 by default, complains about the for loop initial declaration in externals/cgns/cgnslib.c.
1 parent b9a4cd1 commit 36d7542

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

meson.build

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ project('SU2', 'c', 'cpp',
33
license: 'LGPL2',
44
default_options: ['buildtype=release',
55
'warning_level=0',
6+
'c_std=c99',
67
'cpp_std=c++11'])
78

89

0 commit comments

Comments
 (0)