summaryrefslogtreecommitdiff
path: root/odb-examples/c++11/README
diff options
context:
space:
mode:
Diffstat (limited to 'odb-examples/c++11/README')
-rw-r--r--odb-examples/c++11/README8
1 files changed, 4 insertions, 4 deletions
diff --git a/odb-examples/c++11/README b/odb-examples/c++11/README
index 7db6a44..638b9a2 100644
--- a/odb-examples/c++11/README
+++ b/odb-examples/c++11/README
@@ -27,8 +27,8 @@ employee.sql
These files are generated by the ODB compiler from employee.hxx using the
following command line:
- odb --std c++11 -d <database> --std c++11 --generate-schema \
- --generate-query employee.hxx
+ odb --std c++11 -d <database> --generate-schema --generate-query \
+ employee.hxx
Where <database> stands for the database system we are using, for example,
'mysql'.
@@ -51,8 +51,8 @@ driver.cxx
over the result printing basic information about the returned objects.
To compile and link the example manually from the command line we can use
-the following commands (using MySQL as an example; replace 'c++ -std=c++11'
-with your C++ compiler in C++11 mode):
+the following commands (using MySQL as an example; replace 'c++' with your
+C++ compiler name):
c++ -c employee-odb.cxx
c++ -DDATABASE_MYSQL -c driver.cxx