Skip to content

Commit 554660a

Browse files
author
Daniel Kroening
committed
bugfix: use -std=gnu89 for C
This fixes a copy & paste error.
1 parent e6ce264 commit 554660a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ansi-c/c_preprocess.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ bool c_preprocess_gcc_clang(
610610
switch(config.ansi_c.c_standard)
611611
{
612612
case configt::ansi_ct::c_standardt::C89:
613-
argv.push_back("-std=gnu++89");
613+
argv.push_back("-std=gnu89");
614614
break;
615615

616616
case configt::ansi_ct::c_standardt::C99:

0 commit comments

Comments
 (0)