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

Hotspot doesn't build with gcc4.1

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • hotspot
    • b93
    • x86
    • linux

      GCC4.1 become strogner in regard of some C++ patterns.
      One heavily used in Hotspot is
      class Foo {
       void Foo::bar() {}
      };

      which should be written as
      class Foo {
       void bar() {}
      };

      Also if some external inline function is declared as friend, its body is expected to be already seen.

       Generally looks like useful cleanup + support for next major GCC release.

            nigottiorcl Nikolay Igotti (Inactive)
            nigottiorcl Nikolay Igotti (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: