Skip to content

Commit 4609755

Browse files
committed
[emscripten] Add -Werror=overloaded-virtual.
Turn "overloaded-virtual" warnings into errors when compiling for emscripten.
1 parent 9ba1580 commit 4609755

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/emscripten-settings.gypi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@
4242
'-fno-exceptions',
4343
'-fno-rtti',
4444
'-std=<(c++_std)',
45+
46+
'-Werror=overloaded-virtual',
4547
],
4648

4749
'target_conditions':

0 commit comments

Comments
 (0)