bugGNUstep - Bugs: bug #13893, Bug in NSRunLoop.h

 
 

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

bug #13893: Bug in NSRunLoop.h

Submitted by:  None
Submitted on:  Sat 23 Jul 2005 12:40:22 PM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 23 Jul 2005 02:10:46 PM UTC, comment #1:

Actually only a problem if you have _MINGW_ defined, but are using a less tolerant compiler than the mingw one. However, I fixed it in CVS anyway as it's better to have correct code and the mingw coimpiler m ight become less tolerant in future versions.

Richard Frith-Macdonald <CaS>
Project Member
Sat 23 Jul 2005 12:40:22 PM UTC, original submission:

Well I think that the definition of RunLoopEventType in NSRunLoop.h is broken if the environment isn't with mingw.

Actual code :
typedef enum {
#ifdef _MINGW_
ET_HANDLE,
#else
ET_RDESC, /* Watch for descriptor becoming readable. */
ET_WDESC, /* Watch for descriptor becoming writeable. */
#endif
ET_RPORT, /* Watch for message arriving on port. */
/* For binary compatibility we have an extra ifdef... */
#ifndef _MINGW_
ET_EDESC /* Watch for descriptor with out-of-band data. */
#endif
} RunLoopEventType;

From the test I have done the , after ET_RPORT will make an error at build time if MINGW isn't defined.

Anonymous

 

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

Date Changed By Updated Field Previous Value => Replaced By
Sat 23 Jul 2005 02:10:46 PM UTCCaSStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1