Bug 231282 - graphics/alembic: compiler error: use of undeclared identifier
Summary: graphics/alembic: compiler error: use of undeclared identifier
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-10 11:01 UTC by O. Hartmann
Modified: 2018-09-10 12:14 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2018-09-10 11:01:32 UTC
On CURRENT (FreeBSD 12.0-ALPHA5 #120 r338523: Fri Sep  7 17:36:45 CEST 2018 amd64) with most recent ports tree as of time of this report (Revision: 479372), updating/recompilation of port graphics/alembic fails due to the error shown below:


[...]
lib/Alembic/AbcCoreOgawa/ReadWrite.cpp:79:14: error: out-of-line definition of 'ReadArchive' does not match any declaration in 'Alembic::AbcCoreOgawa::v10::ReadArchive'
ReadArchive::ReadArchive( size_t iNumStreams, bool iUseMMap )
             ^~~~~~~~~~~
lib/Alembic/AbcCoreOgawa/ReadWrite.cpp:82:5: error: use of undeclared identifier 'm_useMMap'; did you mean 'iUseMMap'?
    m_useMMap = iUseMMap;
    ^~~~~~~~~
    iUseMMap
lib/Alembic/AbcCoreOgawa/ReadWrite.cpp:79:52: note: 'iUseMMap' declared here
Comment 1 Walter Schwarzenfeld 2018-09-10 11:55:36 UTC
Delete the old version and try it again. (I had the same problem, removing of the old version solved it).
Comment 2 O. Hartmann 2018-09-10 12:14:50 UTC
Done. Thank you very much. This workaround works.