Page MenuHomeFreeBSD

devel/elfio: Fix on GCC architectures
ClosedPublic

Authored by pkubaj on Apr 17 2019, 7:46 PM.

Details

Summary

The port requires C++11-compatible compiler:
../../elfio/elfio_strings.hpp:95: error: expected nested-name-specifier before 'string_section_accessor'
../../elfio/elfio_strings.hpp:95: error: 'string_section_accessor' has not been declared
../../elfio/elfio_strings.hpp:95: error: expected `;' before '=' token
../../elfio/elfio_strings.hpp:95: error: expected unqualified-id before '=' token
../../elfio/elfio_strings.hpp:96: error: expected nested-name-specifier before 'const_string_section_accessor'
../../elfio/elfio_strings.hpp:96: error: 'const_string_section_accessor' has not been declared
../../elfio/elfio_strings.hpp:96: error: expected `;' before '=' token
../../elfio/elfio_strings.hpp:96: error: expected unqualified-id before '=' token

Approved by maintainer in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237312

Test Plan

Test build on architectures with GCC in base.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Apr 18 2019, 12:59 PM
This revision was automatically updated to reflect the committed changes.