Thanks for the great feature set.

I am porting the Oyranos CMM wrapper for lcms to lcms2 and get following 
warnings:

Compiling modules/oyranos_cmm_lcm2.o ...
In file included from 
/home/kuwe/programme/CMS/Oyranos/Entwickeln/modules/oyranos_cmm_lcm2.c:19:
/opt/local/include/lcms2.h:1:1: warning: C++ style comments are not 
allowed in ISO C90
/opt/local/include/lcms2.h:1:1: warning: (this will be reported only once 
per input file)
/opt/local/include/lcms2.h:126:10: warning: use of C99 long long integer 
constant
/opt/local/include/lcms2.h:126:10: warning: use of C99 long long integer 
constant
/opt/local/include/lcms2.h:133:10: warning: use of C99 long long integer 
constant
In file included from 
/home/kuwe/programme/CMS/Oyranos/Entwickeln/modules/oyranos_cmm_lcm2.c:19:
/opt/local/include/lcms2.h:383: warning: comma at end of enumerator list
/opt/local/include/lcms2.h:444: warning: comma at end of enumerator list


Any idea about the long long integer warning?

To better check I compile with gcc --pedantic and -Wall. As lcms2 
requires -std=c99 is added. I hope the warnings can be fixed. The 
LONG_MAX comparision can be possibly substituted with a check for 
_POSIX_V6_LP64_OFF64 and _POSIX_V6_ILP32_OFF32. If both are not defined 
the checks as lcms2.h has can still be applied. These posix macros are 
described here:
http://www.opengroup.org/onlinepubs/009695399/utilities/c99.html


kind regards
Kai-Uwe Behrmann
-- 
developing for colour management 
www.behrmann.name + www.oyranos.org


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to