bugGNUstep - Bugs: bug #31690, base not compiling

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31690: base not compiling

Submitted by:  Riccardo Mottola <rmottola>
Submitted on:  Thu 18 Nov 2010 09:09:09 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

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>
Project 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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Nov 2010 10:04:51 AM UTCCaSStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1