On Sun, 20 Jun 2010, Kai-Uwe Behrmann wrote: > 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?
The 'long long' type has been used by Unix for many years and is likely validated by 'configure'. I would be more concerned about this warning: "warning: comma at end of enumerator list" since it is something which should be rejected by a compiler and there are modern compilers which would fail to compile it. > 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 What is wrong with LONG_MAX? Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.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