Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Feb 2017 05:27:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 216072] games/vegastrike: fails to build with clang 4.0
Message-ID:  <bug-216072-13-4J6NGiglJ2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216072-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216072-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216072

--- Comment #1 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jbeich
Date: Wed Feb  1 05:25:55 UTC 2017
New revision: 432972
URL: https://svnweb.freebsd.org/changeset/ports/432972

Log:
  games/vegastrike: unbreak with clang 4.0

  setup/src/include/central.cpp:37:37: error: ordered comparison between
pointer and zero
        ('struct group *' and 'int')
          } while ((CURRENT =3D CURRENT->next) > 0);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/central.cpp:45:37: error: ordered comparison between
pointer and zero
        ('struct catagory *' and 'int')
          } while ((CURRENT =3D CURRENT->next) > 0);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/central.cpp:57:37: error: ordered comparison between
pointer and zero
        ('struct catagory *' and 'int')
          } while ((CURRENT =3D CURRENT->next) > 0);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/central.cpp:67:29: error: ordered comparison between
pointer and zero
        ('struct group *' and 'int')
          } while ((CUR =3D CUR->next) > 0);
                   ~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/central.cpp:77:29: error: ordered comparison between
pointer and zero
        ('struct catagory *' and 'int')
          } while ((CUR =3D CUR->next) > 0);
                   ~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/central.cpp:87:36: error: ordered comparison between
pointer and zero
        ('struct group *' and 'int')
          } while ((CUR =3D CUR->next) > 0);
                   ~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/display_gtk.cpp:112:36: error: ordered comparison betwe=
en
pointer and zero
        ('catagory *' and 'int')
                  } while ((NEWCUR =3D NEWCUR->next) > 0);
                           ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/display_gtk.cpp:127:37: error: ordered comparison betwe=
en
pointer and zero
        ('struct group *' and 'int')
          } while ((CURRENT =3D CURRENT->next) > 0);
                   ~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/display_gtk.cpp:183:29: error: ordered comparison betwe=
en
pointer and zero
        ('struct catagory *' and 'int')
          } while ((CUR =3D CUR->next) > 0);
                   ~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/file.cpp:170:52: error: ordered comparison between poin=
ter
and zero
        ('char *' and 'int')
              while ( ( n_parm =3D next_parm( parm ) ) > 0 ) {
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/file.cpp:191:52: error: ordered comparison between poin=
ter
and zero
        ('char *' and 'int')
              while ( ( n_parm =3D next_parm( parm ) ) > 0 ) {
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/file.cpp:321:52: error: ordered comparison between poin=
ter
and zero
        ('char *' and 'int')
              while ( ( n_parm =3D next_parm( parm ) ) > 0 ) {
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
  setup/src/include/general.cpp:124:46: error: ordered comparison between
pointer and zero
        ('char *' and 'int')
          while ((location =3D strstr(current, search)) > 0) {
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

  PR:           216072
  Reported by:  antoine (via exp-run)

Changes:
  head/games/vegastrike/files/patch-clang40

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216072-13-4J6NGiglJ2>