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

[11u] Build with old C compiler broken by 8223490

XMLWordPrintable

    • b05

        Old C compilers don't allow declarations in for loops:
        TimeZone_md.c:139:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
                 for (unsigned int i = 0; i < sizeof (popularZones) / sizeof (popularZones[0]); i++) {

        Such old compilers may be no longer officially supported, but it can be fixed very easily.

              mdoerr Martin Doerr
              mdoerr Martin Doerr
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: