Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8171225

[aix] Fix gtests compile error on AIX 7.1 with xlC 12

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b151
    • aix

      Currently, gtests do not build on AIX due to compile errors:

      "/sapmnt/sapjvm_work/d031900/openjdk/jdk9-hs/source/test/fmw/gtest/include/gtest/gtest.h", line 1448.7: 1540-0207 (S) No common type found for operands with type "long" and "Integer *".
      "/sapmnt/sapjvm_work/d031900/openjdk/jdk9-hs/source/test/fmw/gtest/include/gtest/gtest.h", line 1438.17: 1540-0700 (I) The previous message was produced while processing "testing::internal::CmpHelperEQ<long,Integer *>(const char *, const char *, const long &, Integer * c
      onst &)".
      "/sapmnt/sapjvm_work/d031900/openjdk/jdk9-hs/source/test/fmw/gtest/include/gtest/gtest.h", line 1484.12: 1540-0700 (I) The previous message was produced while processing "testing::internal::EqHelper<0>::Compare<long,Integer *>(const char *, const char *, const long &, In
      teger * const &)".

      Build stops at this point.

            stuefe Thomas Stuefe
            stuefe Thomas Stuefe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: