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

Missing include dependancies for GCC without predefined headers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • hs15
    • hs15
    • hotspot
    • None
    • b01
    • generic
    • linux

        Without USE_PREDEFINED_HEADERS a bunch of .inline.hpp dependancies are missing causing newer GCC compilers to get the warning below.

        Compiling /net/philli/scratch1/coleenp/hg/ubuntu/src/share/vm/gc_implementation/parallelScavenge/adjoiningGenerations.cpp
        cc1plus: warnings being treated as errors
        /net/philli/scratch1/coleenp/hg/ubuntu/src/share/vm/utilities/bitMap.hpp:155: warning: inline function 'void BitMap::set_bit(size_t)' used but never defined
        gnumake[2]: *** [adaptiveSizePolicy.o] Error 1
        gnumake[2]: *** Waiting for unfinished jobs....
        cc1plus: warnings being treated as errors
        /net/philli/scratch1/coleenp/hg/ubuntu/src/share/vm/utilities/bitMap.hpp:155: warning: inline function 'void BitMap::set_bit(size_t)' used but never defined
        gnumake[2]: *** [adjoiningGenerations.o] Error 1


        I think the gcc version was 4.3.2 and also
        gcc (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)

              coleenp Coleen Phillimore
              coleenp Coleen Phillimore
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: