bugOpenEXR - Bugs: bug #34100, MinGW : compile fail

 
 

bug #34100: MinGW : compile fail

Submitted by:  Dominique638 <dominique638>
Submitted on:  Tue 23 Aug 2011 05:00:59 AM UTC  
 
Category:  build/install Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 23 Aug 2011 05:00:59 AM UTC, original submission:

Hello,

When building ilmbase-1.0.1 / IlmThread on MinGW, lot of error are sent.

MinGW is working on Windows but use pthread. So a lot of sources as:

#if defined _WIN32 || defined _WIN64
mutable CRITICAL_SECTION _mutex;
#elif HAVE_PTHREAD
mutable pthread_mutex_t _mutex;
#endif

must be rewriten as:

#if HAVE_PTHREAD
mutable pthread_mutex_t _mutex;
#elif defined _WIN32 || defined _WIN64
mutable CRITICAL_SECTION _mutex;
#endif

Thanks,

Dominique

Dominique638 <dominique638>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #23848:  IlmThread_mingw.7z added by dominique638 (4KiB - application/octet-stream)
file #23849:  IlmThread_mingw.7z added by dominique638 (4KiB - application/octet-stream)
file #23850:  IlmThreadSemaphorePosixCompat.cpp added by dominique638 (4KiB - application/octet-stream)
file #23851:  IlmThreadSemaphore.h added by dominique638 (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dominique638 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can 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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    Tue 23 Aug 2011 05:00:59 AM UTC dominique638 Attached File- => Added IlmThread_mingw.7z, #23848
        Attached File- => Added IlmThread_mingw.7z, #23849
        Attached File- => Added IlmThreadSemaphorePosixCompat.cpp, #23850
        Attached File- => Added IlmThreadSemaphore.h, #23851

    Back to the top


    Powered by Savane 3.3