bugfindutils - Bugs: bug #3727, findutils-4.1.7 compilation errors...

 
 

bug #3727: findutils-4.1.7 compilation errors with Intel icc

Submitted by:  James Youngman <jay>
Submitted on:  Thu 22 May 2003 02:01:13 PM UTC  
 
Category: NoneSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Open/Closed: Closed
Release: NoneFixed Release: 4.2.3

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 30 Oct 2004 08:47:34 AM UTC, comment #2:

This problem is fixed in the CVS code for findutils.
To resolve your problem, you could either wait for the
next official release of findutils, or check out a copy
of the code from the CVS repository for findutils.

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 22 May 2003 02:02:07 PM UTC, comment #1:

Bug originally raised by Bruno Haible, haible at ilog.fr

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 22 May 2003 02:01:13 PM UTC, original submission:

Hi,

Compiling findutils-4.1.7 with Intel icc, I get the following errors and
warnings.

1) Error in locate/locate.c because of wrong definition of N_. It must
expand to a literal string, not a parenthesized string, because in ISO C 99,
a parenthesized string is not a valid initializer for a 'const char[]'.

Fix: change
# define N_(String) (String)
to
# define N_(String) String
everywhere.

2) fstype.c:
"fstype.c", line 264: warning #266: function declared implicitly
xstrtoumax (devopt, NULL, 16, &u, NULL);
^
Fix: #include "xstrtol.h" in find/fstype.c.

3) locate.c:
"locate.c", line 276: warning #266: function declared implicitly
patend=TOLOWER(patend);
^

"locate.c", line 276: warning #266: function declared implicitly
patend=TOLOWER(patend);
^

"locate.c", line 322: warning #266: function declared implicitly
nread = getstr (&path, &pathsize, fp, '\0', count);
^

"locate.c", line 344: warning #266: function declared implicitly
if (TOLOWER(s) == patend)
^

"locate.c", line 344: warning #266: function declared implicitly
if (TOLOWER(s) == patend)
^
Fix: #include <ctype.h> in locate/locate.c.

James Youngman <jay>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 31 Oct 2004 12:25:03 PM UTCjayOpen/ClosedOpen=>Closed
  Fixed ReleaseNone=>4.2.3
Sat 30 Oct 2004 08:47:34 AM UTCjayStatusNone=>Fixed

Back to the top


Powered by Savane 3.1-cleanup1