Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 923bb331 in mainline


Ignore:
Timestamp:
2021-05-05T17:55:31Z (7 months ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
ec7902d
Parents:
051349b
Message:

Fix build with meson 0.56.2

Meson changed the meaning of warning_level, before 2 had -Wpedantic
and 3 was -Wextra, now -3 is -Wpedantic and 2 is -Wextra. HelenOS
can compile with -Wextra, but not with -Wpedantic (and lot of work
to make it compile with that). So changing to level 3 for now.
This probably means build will fail with older meson version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • meson.build

    r051349b r923bb331  
    3535    'HelenOS',
    3636    [ 'c', 'cpp' ],
    37     default_options : ['buildtype=plain', 'c_std=gnu11', 'cpp_std=c++17', 'warning_level=3', 'werror=false', 'b_staticpic=false', 'prefix=/' ],
     37    default_options : ['buildtype=plain', 'c_std=gnu11', 'cpp_std=c++17', 'warning_level=2', 'werror=false', 'b_staticpic=false', 'prefix=/' ],
    3838    meson_version: '>=0.50.1',
    3939)
Note: See TracChangeset for help on using the changeset viewer.