Opened 4 years ago
Last modified 17 months ago
#61181 closed enhancement
LittleCMS lcms - Please add option to disable register variable (or remove entirely) — at Version 1
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 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
Note: See
TracTickets for help on using
tickets.