bugGNUstep - Bugs: bug #31690, base not compiling

Group
 
 

bug #31690: base not compiling

Submitter:  Riccardo Mottola <rmottola>
Submitted:  Thu 18 Nov 2010 09:09:09 AM UTC
   
 
Category:  Base/Foundation Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Nov 2010 10:04:51 AM UTC, comment #1: 

Thanks ... looks like a simple case of an incorrect test of the preprocessor constant to say whether ICU should be being used ... should be fixed.

Richard Frith-Macdonald <CaS>
Group Member
Thu 18 Nov 2010 09:09:09 AM UTC, original submission:  

On a recent x86-32/linux-gentoo with gcc 4.4.5:

 Compiling file NSPredicate.m ...
NSPredicate.m: In function 'GSICUStringMatchesRegex':
NSPredicate.m:819: error: 'UErrorCode' undeclared (first use in this function)
NSPredicate.m:819: error: (Each undeclared identifier is reported only once
NSPredicate.m:819: error: for each function it appears in.)
NSPredicate.m:819: error: expected ';' before 'error'
NSPredicate.m:820: warning: ISO C90 forbids mixed declarations and code
NSPredicate.m:825: error: 'URegularExpression' undeclared (first use in this function)
NSPredicate.m:825: error: 'icuregex' undeclared (first use in this function)
NSPredicate.m:835: error: 'UREGEX_DOTALL' undeclared (first use in this function)
NSPredicate.m:836: error: 'UREGEX_CASE_INSENSITIVE' undeclared (first use in this function)
NSPredicate.m:838: warning: implicit declaration of function 'uregex_open'
NSPredicate.m:838: error: 'error' undeclared (first use in this function)
NSPredicate.m:839: warning: implicit declaration of function 'U_SUCCESS'
NSPredicate.m:841: warning: implicit declaration of function 'uregex_setText'
NSPredicate.m:842: warning: implicit declaration of function 'uregex_matches'
NSPredicate.m:844: warning: implicit declaration of function 'uregex_close'
make[4]: * [obj/libgnustep-base.obj/NSPredicate.m.o] Error 1

Riccardo Mottola <rmottola>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by CaS (Posted a comment)
  • -email is unavailable- added by rmottola (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-11-18 CaS StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code