Fix auto_ptr to auto\_ptr

v0.27.3
clanmills 5 years ago
parent c423b91b92
commit 3ebfee1c39

@ -701,7 +701,7 @@ You will find that 3 tests fail at the end of the test suite. It is safe to ign
### 2.17 Building with C++11 and other compilers
Exiv2 uses the default compiler for your system. Exiv2 v0.27 was written to the C++ 1998 standard and will compile with C++11 and C++14. As auto_ptr support is no longer in C++17, you cannot build with that system. Exiv2 v0.28 and later do not use auto_ptr and are fully supported with all compilers.
Exiv2 uses the default compiler for your system. Exiv2 v0.27 was written to the C++ 1998 standard and will compile with C++11 and C++14. As _auto\_ptr support is no longer in C++17, you cannot build with that system._ Exiv2 v0.28 and later do not use auto\_ptr and are fully supported with all compilers.
To generate a build with C++11:
@ -709,9 +709,10 @@ To generate a build with C++11:
$ cd <exiv2dir>
$ mkdir build ; cd build
$ cmake .. -DCMAKE_CXX_STANDARD=11 -DCMAKE_CXX_FLAGS=-Wno-deprecated
$ make
```
The option -DCMAKE\_CXX\_FLAGS=-Wno-deprecated suppresses warnings from C++11 concerning auto_ptr which is deprecated.
The option -DCMAKE\_CXX\_FLAGS=-Wno-deprecated suppresses warnings from C++11 concerning auto\_ptr which is deprecated.
[TOC](#TOC)

Loading…
Cancel
Save