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

Group
 
 

bug #13893: Bug in NSRunLoop.h

Submitter:  None
Submitted:  Sat 23 Jul 2005 12:40:22 PM 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
   

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>
Group 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

 

(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

 

CC list is empty

 

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
2005-07-23 CaS StatusNone Fixed
    Open/ClosedOpen Closed

Back to the top

Powered by Savane 3.13-02a9.
Corresponding source code