Opened 4 years ago
Last modified 17 months ago
#61181 closed enhancement
LittleCMS 2 lcms2 - Please add option to disable register variable (or remove entirely) — at Version 2
Reported by: | MrB74 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | lcms2 |
Description (last modified by MrB74)
C++ standards post C++11 do not support register keywords. LittleCMS 2 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
Change History (2)
comment:1 Changed 4 years ago by MrB74
Description: | modified (diff) |
---|
comment:2 Changed 4 years ago by MrB74
Description: | modified (diff) |
---|---|
Summary: | LittleCMS lcms - Please add option to disable register variable (or remove entirely) → LittleCMS 2 lcms2 - Please add option to disable register variable (or remove entirely) |
Note: See
TracTickets for help on using
tickets.