Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/examples/100-Fix-Section.cpp
diff options
context:
space:
mode:
authorPetr Kubánek2022-05-24 10:07:17 +0200
committerMartin Hořeňovský2022-06-05 15:58:41 +0200
commit0c13d021da4ff937a33279207fb57e000781d86c (patch)
tree972f655a95c7a96479600a17e4f71a2e0ba13f08 /examples/100-Fix-Section.cpp
parent3644b4135d2f4ec37fe6858dfc03b6273b0948ef (diff)
downloadcatch3-0c13d021da4ff937a33279207fb57e000781d86c.tar.gz
Update documentation - add pkg-config examples.
Use -std=c++14 (instead of c++11). Pointers how to integrate with pkg-config for non-CMake projects.
Diffstat (limited to 'examples/100-Fix-Section.cpp')
-rw-r--r--examples/100-Fix-Section.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/100-Fix-Section.cpp b/examples/100-Fix-Section.cpp
index 7c6d614c..cfbfa79f 100644
--- a/examples/100-Fix-Section.cpp
+++ b/examples/100-Fix-Section.cpp
@@ -45,7 +45,7 @@ TEST_CASE( "vectors can be sized and resized", "[vector]" ) {
}
// Compile & run:
-// - g++ -std=c++11 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 100-Fix-Section 100-Fix-Section.cpp && 100-Fix-Section --success
+// - g++ -std=c++14 -Wall -I$(CATCH_SINGLE_INCLUDE) -o 100-Fix-Section 100-Fix-Section.cpp && 100-Fix-Section --success
// - cl -EHsc -I%CATCH_SINGLE_INCLUDE% 100-Fix-Section.cpp && 100-Fix-Section --success
// Expected compact output (all assertions):