fixed typos to build with ./configure "CXXFLAGS=-DDEBUG -ggdb"
This commit is contained in:
parent
4374104ca4
commit
bdbdbf2360
@ -828,7 +828,7 @@ namespace Exiv2 {
|
||||
append(blob, mio2.mmap(), mio2.size());
|
||||
#ifdef DEBUG
|
||||
if (wm == wmIntrusive) {
|
||||
std::cerr << "SIZE OF EXIF DATA IS " << std::dec << io.size() << " BYTES\n";
|
||||
std::cerr << "SIZE OF EXIF DATA IS " << std::dec << mio2.size() << " BYTES\n";
|
||||
}
|
||||
else {
|
||||
std::cerr << "SIZE DOESN'T MATTER, NON-INTRUSIVE WRITING USED\n";
|
||||
|
||||
@ -2171,7 +2171,7 @@ namespace Exiv2 {
|
||||
return true;
|
||||
}
|
||||
#ifdef DEBUG
|
||||
std::cerr << "Not an image tag: " << key << " (4)\n";
|
||||
std::cerr << "Not an image tag: " << tag << " (4)\n";
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -96,7 +96,10 @@
|
||||
|
||||
#if defined ( DEBUG )
|
||||
#if defined ( NDEBUG )
|
||||
#error "XMP environment error - both DEBUG and NDEBUG are defined"
|
||||
#undef NDEBUG
|
||||
#warning
|
||||
#warning "XMP environment - DEBUG and NDEBUG defined. NDEBUG has been undefined"
|
||||
#warning
|
||||
#endif
|
||||
#define XMP_DebugBuild 1
|
||||
#endif
|
||||
|
||||
Loading…
Reference in New Issue
Block a user