Skip to content

Commit

Permalink
explicitly specify -std=gnu89 (gcc 5 compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
mauke committed Dec 4, 2015
1 parent e62df04 commit 3796da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion t/chk.t
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ is haskell-st "I'm a Literate Haskell program (ScopedTypeVariables)." "$r
is haskell-cpp "I'm a Literate Haskell program (CPP)." "$runhaskell" -XCPP "$tmp"
is haskell-all "I'm a Literate Haskell program (BangPatterns, TemplateHaskell, RebindableSyntax, MagicHash, OverloadedStrings, NoMonomorphismRestriction, ScopedTypeVariables, CPP)." "$runhaskell" -XBangPatterns -XTemplateHaskell -XRebindableSyntax -XMagicHash -XOverloadedStrings -XNoMonomorphismRestriction -XScopedTypeVariables -XCPP "$tmp"
rm "$tmp"
is c "I'm a C program (C89 with // comments, trigraphs disabled)." compile gcc -Wno-trigraphs -Wno-unused -xc "$poly"
is c "I'm a C program (C89 with // comments, trigraphs disabled)." compile gcc -std=gnu89 -Wno-trigraphs -Wno-unused -xc "$poly"
is c89 "I'm a C program (C89, trigraphs enabled)." compile gcc -std=c89 -pedantic -W -Wall -Wno-trigraphs -Wno-unused -xc "$poly"
is c99 "I'm a C program (C99, trigraphs enabled)." compile gcc -std=c99 -pedantic -W -Wall -Wno-trigraphs -Wno-unused -xc "$poly"
is c++ "I'm a C++ program (trigraphs disabled)." compile g++ -Wno-trigraphs -xc++ "$poly"
Expand Down

0 comments on commit 3796da1

Please sign in to comment.