Skip to content

Commit 273a2a3

Browse files
author
Povilas Kanapickas
committed
Gadgets/Coliru: Disable all non-standard compiler extensions
1 parent 5d3a721 commit 273a2a3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

gadgets/coliru_compiler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function Editor(root) {
2424
}
2525
],
2626
default_id: 4,
27-
opt: ' -O2 -Wall -Wextra -pedantic -pthread main.cpp ',
27+
opt: ' -O2 -Wall -Wextra -pedantic -pthread -pedantic-errors main.cpp ',
2828
}
2929

3030
var cmd_info_c = {
@@ -37,7 +37,7 @@ function Editor(root) {
3737
{ title: 'clang 3.4 (C99)', cmd: 'clang++ -x c -std=c99 '}
3838
],
3939
default_id: 3,
40-
opt: ' -O2 -Wall -Wextra -pedantic -pthread main.cpp ',
40+
opt: ' -O2 -Wall -Wextra -pedantic -pthread -pedantic-errors main.cpp ',
4141
}
4242

4343
this.check_is_cxx = function() {

0 commit comments

Comments
 (0)