#43510: easytag: build fails with -Werror,-Wformat-nonliteral problems ----------------------+-------------------------------- Reporter: ggm@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: easytag | ----------------------+-------------------------------- Changes (by devans@…): * status: new => closed * version: 2.2.1 => * resolution: => fixed * port: => easytag Old description:
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.
New description: ---- 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. -- Comment: Fixed in r119502. -- Ticket URL: <https://trac.macports.org/ticket/43510#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X