Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed build with exiv2-0.27.1 #4

Merged
merged 1 commit into from
Jun 5, 2019
Merged

Fixed build with exiv2-0.27.1 #4

merged 1 commit into from
Jun 5, 2019

Conversation

sikmir
Copy link

@sikmir sikmir commented Jun 2, 2019

$ make CFLAGS=-DENABLE_NLS GTK=3
...
exif-gps.cpp: In function 'char* ReadExifDate(const char*, int*)':
exif-gps.cpp:103:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp: In function 'char* ReadExifData(const char*, double*, double*, double*, int*)':
exif-gps.cpp:160:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp: In function 'char* ReadGPSTimestamp(const char*, char*, char*, int*)':
exif-gps.cpp:298:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp: In function 'int WriteGPSData(const char*, const GPSPoint*, const char*, int, int)':
exif-gps.cpp:469:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp:619:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp: In function 'int WriteFixedDatestamp(const char*, time_t)':
exif-gps.cpp:649:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp:684:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp: In function 'int RemoveGPSExif(const char*, int, int)':
exif-gps.cpp:711:18: error: 'Error' in namespace 'Exiv2' does not name a type
  } catch (Exiv2::Error& e) {
                  ^~~~~
exif-gps.cpp:737:19: error: 'Error' in namespace 'Exiv2' does not name a type
   } catch (Exiv2::Error& e) {
                   ^~~~~
make: *** [Makefile:53: exif-gps.o] Error 1

@coveralls
Copy link

coveralls commented Jun 2, 2019

Pull Request Test Coverage Report for Build 208

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 95.203%

Totals Coverage Status
Change from base Build 206: 0.0%
Covered Lines: 893
Relevant Lines: 938

💛 - Coveralls

@dfandrich
Copy link
Owner

dfandrich commented Jun 3, 2019 via email

@sikmir
Copy link
Author

sikmir commented Jun 3, 2019

Yes, it works. I've tested with exiv2-0.25.

@dfandrich
Copy link
Owner

dfandrich commented Jun 3, 2019 via email

@sikmir
Copy link
Author

sikmir commented Jun 3, 2019

Can you find a way to make it work? Maybe by including error.hpp instead (that still works on 0.18)?

OK, updated.

@dfandrich dfandrich merged commit 753c3ee into dfandrich:master Jun 5, 2019
@dfandrich
Copy link
Owner

Thanks!

@sikmir sikmir deleted the fix-build-exiv2-0.27.1 branch June 6, 2019 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants