[MacPorts] #61181: LittleCMS lcms - Please add option to disable register variable (or remove entirely)
MacPorts
noreply at macports.org
Tue Sep 15 20:19:42 UTC 2020
#61181: LittleCMS lcms - Please add option to disable register variable (or remove
entirely)
-------------------------+--------------------
Reporter: MrB74 | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port:
-------------------------+--------------------
C++ standards post C++11 do not support register keywords.
LittleCMS introduced the CMS_NO_REGISTER_KEYWORD
The register keyword
LittleCMS uses and requires C99, and this standard allows the use of
́register ́ keyword. Some compilers complain about this as being
deprecated. Well, standards cannot be changed in retro- active way unless
you have a time machine! But anyway, if you want to compile the code as
C++14 or things like that, you can use the toggle CMS_NO_REGISTER_KEYWORD
Would it be possible to get an option to disable it, or just disabled it
by default by setting uncommenting the #define CMS_NO_REGISTER_KEYWORD 1
in lcms2.h
thanks
Craig
--
Ticket URL: <https://trac.macports.org/ticket/61181>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list