bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/16567] New: Compilation warnings in DllTool


From: d.g.gorbachev at gmail dot com
Subject: [Bug binutils/16567] New: Compilation warnings in DllTool
Date: Wed, 12 Feb 2014 15:42:28 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16567

            Bug ID: 16567
           Summary: Compilation warnings in DllTool
           Product: binutils
           Version: 2.25 (HEAD)
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: d.g.gorbachev at gmail dot com

There are GCC warnings when building Binutils with some compiler options.

deflex.c:1429:17: warning: 'yyunput' defined but not used [-Wunused-function]
deflex.c:1470:16: warning: 'input' defined but not used [-Wunused-function]

It can be fixed just like in other *.l files:

--- binutils/deflex.l
+++ binutils/deflex.l
@@ -1,3 +1,5 @@
+%option noinput nounput
+
 %{/* deflex.l - Lexer for .def files */

 /* Copyright 1995, 1997, 1998, 1999, 2002, 2003, 2004, 2005, 2007
@@ -28,8 +30,6 @@
 #include "defparse.h"
 #include "dlltool.h"

-#define YY_NO_UNPUT
-
 int linenumber;

 %}

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]