[MacPorts] #51312: pkgconfig @0.29.1: gmessages.c:1077:3: error: data argument not used by format string [-Wformat-extra-args]

MacPorts noreply at macports.org
Sat May 7 06:59:16 PDT 2016


#51312: pkgconfig @0.29.1: gmessages.c:1077:3: error: data argument not used by
format string [-Wformat-extra-args]
------------------------+--------------------------
  Reporter:  cer54@…    |      Owner:  ryandesign@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.3.4
Resolution:             |   Keywords:  lion
      Port:  pkgconfig  |
------------------------+--------------------------

Comment (by ryandesign@…):

 Replying to [comment:4 cer54@…]:
 > Replying to [comment:2 ryandesign@…]:
 > > I see you're on Lion. What version of Xcode and clang do you have?
 >
 > My Xcode version is Xcode 4.6.3 and clang is Apple clang version 2.1
 (tags/Apple/clang-163.7.1) (based on LLVM 3.0svn).

 [wiki:XcodeVersionInfo#OSX10.7 Xcode 4.6.3 is indeed] the latest version
 you can use on Lion, however Apple clang version 2.1 a.k.a clang-163.7.1
 does not correspond to that version of Xcode; it corresponds to
 [wiki:XcodeVersionInfo#MacOSX10.6 Xcode 4.1]. Please upgrade your clang by
 installing "Command Line Tools (OS X Lion) for Xcode - April 2013" which
 you can get at the [https://developer.apple.com/downloads/ Apple Developer
 Downloads] page after logging in, or via the Downloads section of the
 Xcode application's Preferences window.

 > > I see one proposed patch for this issue: https://mail-index.netbsd.org
 /pkgsrc-bugs/2013/10/16/msg052707.html Perhaps it only affects older
 versions of clang, such as we would find on Lion.
 >
 > Yes, I tried the above patch and that fixes the problem.

 Thanks for verifying that. It looks like even the current version of glib
 does not include such a change. However current compilers merely consider
 this condition a warning, not an error as your old version of clang does.
 I will try to find out if this problem was ever reported to the developers
 of glib, and if so, what their response was.

-- 
Ticket URL: <https://trac.macports.org/ticket/51312#comment:5>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list