Comment 10 for bug 1239370

Revision history for this message
su_v (suv-lp) wrote :

Latest builds of r12789 and r12791 on OS X 10.7.5:

1) GTK+/X11 3.4 --> FAILS
  glib2 2.32.4
  glibmm 2.32.1
  gtk3 3.4.4
  gtkmm3 3.4.0

2) GTK+/Quartz 3.6 --> FAILS
  glib2 2.34.3
  glibmm 2.34.1
  gtk3 3.6.4
  gtkmm3 3.6.0

3) GTK+/Quartz 3.8/3.10 --> FAILS
  glib2 2.38.0
  glibmm 2.36.2
  gtk3 3.10.0
  gtkmm3 3.8.1

4) GTK+/X11 3.10 --> FAILS
  glib2 2.38.0
  glibmm 2.38.0
  gtk3 3.10.1
  gtkmm3 3.10.0

Build error (r12789) with GTK+/Quartz 3.6 using
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00):

  CXX color-profile.o
In file included from ../../src/color-profile.cpp:36:
/Volumes/cyan/mp-test/with-a-long-long-long-directory-name/include/lcms.h: In function ‘void* _cmsMalloc(size_t)’:
/Volumes/cyan/mp-test/with-a-long-long-long-directory-name/include/lcms.h:1418: warning: comparison of unsigned expression < 0 is always false
../../src/color-profile.cpp: In static member function ‘static void* Inkscape::CMSSystem::getDisplayTransform()’:
../../src/color-profile.cpp:1169: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator>>’
../../src/color-profile.cpp:1169: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator>>’
../../src/color-profile.cpp:1169: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator>>’
../../src/color-profile.cpp: In static member function ‘static void* Inkscape::CMSSystem::getDisplayPer(const Glib::ustring&)’:
../../src/color-profile.cpp:1343: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator>>’
../../src/color-profile.cpp:1343: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator>>’
../../src/color-profile.cpp:1343: error: invalid operands of types ‘double’ and ‘int’ to binary ‘operator>>’
../../src/color-profile.cpp: At global scope:
../../src/color-profile.cpp:195: warning: ‘<unnamed>::rectRegistered’ defined but not used
make[3]: *** [color-profile.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Build error (r12789) with GTK+/X11 3.10 using
Apple clang version 3.1 (tags/Apple/clang-318.0.58) (based on LLVM 3.1svn):

  CXX color-profile.o
In file included from ../../src/color-profile.cpp:36:
/Volumes/magenta/mp-trunk/x11/include/lcms.h:1418:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if (size < 0) return NULL; // Prevent signed size_t exploits
        ~~~~ ^ ~
../../src/color-profile.cpp:1169:55: error: invalid operands to binary expression ('double' and 'int')
                cmsSetAlarmCodes(gamutColor.get_red() >> 8, gamutColor.get_green() >> 8, gamutColor.get_blue() >> 8);
                                 ~~~~~~~~~~~~~~~~~~~~ ^ ~
../../src/color-profile.cpp:1343:67: error: invalid operands to binary expression ('double' and 'int')
                            cmsSetAlarmCodes(gamutColor.get_red() >> 8, gamutColor.get_green() >> 8, gamutColor.get_blue() >> 8);
                                             ~~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning and 2 errors generated.
make[3]: *** [color-profile.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2