Remove obsolete werror sample

main
Luis Diaz 3 years ago
parent 65568b056e
commit bc7f08b3c4

@ -22,7 +22,6 @@ set( SAMPLES
stringto-test.cpp stringto-test.cpp
taglist.cpp taglist.cpp
tiff-test.cpp tiff-test.cpp
werror-test.cpp
write-test.cpp write-test.cpp
write2-test.cpp write2-test.cpp
xmpparse.cpp xmpparse.cpp

@ -1,23 +0,0 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Simple tests for the wide-string error class WError
#include <exiv2/exiv2.hpp>
#include <iostream>
int main()
{
Exiv2::XmpParser::initialize();
::atexit(Exiv2::XmpParser::terminate);
#ifdef EXV_ENABLE_BMFF
Exiv2::enableBMFF();
#endif
try {
throw Exiv2::Error(Exiv2::ErrorCode::kerGeneralError, "ARG1", "ARG2", "ARG3");
}
catch (const Exiv2::Error& e) {
std::cout << "Caught Error '" << e.what() << "'\n";
}
return 0;
}
Loading…
Cancel
Save