diff --git a/meson.build b/meson.build
index 1e24f2efa3b2e7ad19b987e01f6cb6c75c251756..84222f03c7bba93cbd214e909d50a22c4fa996ea 100644
--- a/meson.build
+++ b/meson.build
@@ -21,7 +21,12 @@
 # TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 # SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 
-project('pressure-vessel', 'c')
+project(
+  'pressure-vessel', 'c',
+  default_options: [
+    'warning_level=2',
+  ],
+)
 
 prove = find_program('prove', required : false)
 python = find_program(get_option('python'), required : true)