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

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

    Details

    • Subcomponent:
    • Resolved In Build:
      b05

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: