bug-coreutils
[Top][All Lists]
Advanced

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

bug#7199: problem with Oct 10 snapshot on Solaris 10 with Sun cc


From: Paul Eggert
Subject: bug#7199: problem with Oct 10 snapshot on Solaris 10 with Sun cc
Date: Tue, 12 Oct 2010 12:20:03 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

Here are the symptoms:

"argv-iter.h", line 24: warning: useless declaration

The following obvious patch fixes things.  The current
code violates C99, so Sun cc is within its rights to
reject it.

--- argv-iter.h~        2010-06-10 09:45:26.000000000 -0700
+++ argv-iter.h 2010-10-12 12:14:44.400156864 -0700
@@ -21,7 +21,6 @@
 #include "arg-nonnull.h"

 struct argv_iterator;
-enum argv_iter_err;

 enum argv_iter_err
 {







reply via email to

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