[MacPorts] #69384: gklib fails on 10.5 PPC

MacPorts noreply at macports.org
Thu Feb 22 23:39:58 UTC 2024


#69384: gklib fails on 10.5 PPC
--------------------------+--------------------
 Reporter:  rmottola      |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:
 Keywords:  leopard  gcc  |       Port:  gklib
--------------------------+--------------------
 I suppose it is not a specific PPC issue, but a fact that GCC is being
 used instead of clang.


 {{{
  CMakeFiles/GKlib.dir/itemsets.c.o.d -o CMakeFiles/GKlib.dir/itemsets.c.o
 -c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gklib/gklib/work
 /GKlib-8bd6bad750b2b0d90800c632cf18e8ee93ad72d7/itemsets.c
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gklib/gklib/work
 /GKlib-8bd6bad750b2b0d90800c632cf18e8ee93ad72d7/io.c: In function
 'gk_readfile':
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_gklib/gklib/work
 /GKlib-8bd6bad750b2b0d90800c632cf18e8ee93ad72d7/io.c:113:24: error:
 'lnlen' may be used uninitialized in this function [-Werror=maybe-
 uninitialized]
    if (*lineptr == NULL || *n == 0) {
        ~~~~~~~~~~~~~~~~~^~~~~~~~~~

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/69384>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list