← Back to team overview

mingw-w64 team mailing list archive

[Bug 1779391] [NEW] mingw-w64 pthread.h header: missing 'const' specifier in pthread_attr_getschedpolicy()

 

Public bug reported:

In the pthread.h header, the pthread_attr_getschedpolicy (pthread_attr_t
*attr, int *pol) function is declared without 'const' specifier of
pthread_attr_t argument. Correct definition should be:
pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *pol);

** Affects: mingw-w64 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: mingw pthread

-- 
You received this bug notification because you are a member of Mingw-w64
Packaging Devs, which is subscribed to mingw-w64 in Ubuntu.
https://bugs.launchpad.net/bugs/1779391

Title:
  mingw-w64 pthread.h header: missing 'const' specifier in
  pthread_attr_getschedpolicy()

Status in mingw-w64 package in Ubuntu:
  New

Bug description:
  In the pthread.h header, the pthread_attr_getschedpolicy
  (pthread_attr_t *attr, int *pol) function is declared without 'const'
  specifier of pthread_attr_t argument. Correct definition should be:
  pthread_attr_getschedpolicy (const pthread_attr_t *attr, int *pol);

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mingw-w64/+bug/1779391/+subscriptions