[MacPorts] #43510: -Werror,-Wformat-nonliteral problems

MacPorts noreply at macports.org
Sun Apr 27 23:18:04 PDT 2014


#43510: -Werror,-Wformat-nonliteral problems
--------------------+--------------------------------
 Reporter:  ggm@…   |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.1
 Keywords:          |       Port:
--------------------+--------------------------------
 easytag fails build with clang on ML reporting:

                    ^~~~~~~~~~~~~~~~
 src/mp4_tag.cc:283:35: error: format string is not a string literal
 [-Werror,-Wformat-nonliteral]
             Log_Print (LOG_ERROR, _("Error while opening file: '%s'
 (%s)."),
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 hand-edits of the Makefile to remove the -W options referring to format
 made it compile and install.

-- 
Ticket URL: <https://trac.macports.org/ticket/43510>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list