Re: error while using migw/msys for ibsimu
Keith Marshall <[email protected]> Thu, 2 Jul 2020 23:07:13 +0100
| Newsgroups | gmane.comp.gnu.mingw.user |
|---|---|
| Organization | MinGW.org Project |
| Message-ID | <[email protected]> |
On 02/07/2020 19:58, MANJEET N/A wrote: > Hello, I downloaded the mingw/msys.and I want to use ibsimu so I > downloaded the ibsimu and extracted it to a direction as per given > instruction but when I tried the make command for ibsimu it shows > following error > > In file included from C:/msys/1.0/home/manje/include/pthread.h:288, > from geometry.hpp:48, > from epot_field.hpp:47, > from epot_field.cpp:44: > C:/msys/1.0/home/manje/include/sched.h:152:47: warning: 'cdecl' > attribute only applies to function types [-Wattributes] > 152 | PTW32_DLLPORT int __cdecl sched_setscheduler (pid_t pid, int > policy); > | ^~~~~ From whence did you obtain your pthreads implementation? Compared to the version which we distribute, that declaration looks mostly correct, but differs from what I see, at <sched.h> line 171: /* FIXME: this declaration of sched_setscheduler() is NOT as prescribed * by POSIX; it lacks const struct sched_param * as third argument. */ __PTW32_DECLSPEC int sched_setscheduler (pid_t, int); -- Regards, Keith. Public key available from keys.gnupg.net Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F _______________________________________________ MinGW-Users mailing list [email protected] This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists. We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. _______________________________________________ You may change your MinGW Account Options or unsubscribe at: https://lists.osdn.me/mailman/listinfo/mingw-users Also: mailto:[email protected]?subject=unsubscribe
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEwZ7AGBVH3lDh1I9TwK02xjR+Wj8FAl7+WpIACgkQwK02xjR+ Wj91yw/+M+f9zUB/ZPR5aJv85fW/6GYtQtQhVDQs33GrTpC/NJ3PEmqUMhJQEyxT GioRt7H2IhrKIi9rbMlix6vq+LKYyWbH0BPUmsZmntb+hSN2CQ2nMvjRgZWp+fWh HN40lWthq1kw9EZcddtyBCWi0tCNPIQUa466W0Qf4GETHZNI2o8MowiN/ZoxB5AH cQSpqku1oQpl4V0MfFEzRrLrdrpvj6yiRVRuD7Gx888gcjl1/+sG8PZYYxUritp/ Jrw5lHpHl/XQCe10NGrT6zTgdnKpFR5cdDbdoljpqNA0FYkz5z5oZuwSYfoOjia1 6Zu1gUnqFNY1QwjVxIhYjb4GVXOR+Zw7JG/TRcz03XDwYMlmRQjkDRnJT8OpPAcm g4Y/Pip6zcZqkkQrwoviLfeS1RnW7hnnT8A8CjIkvJAUwbjnabzlEZIK8u27DRv1 vcnGVWIIU6YcXlYVES2vB/LtD54YviKG7kocVWx9LrSFAHMdSanHNm8T58s4LS9n JH074e64Copzh/PP2VVGmwtVeYI1cNnKVgMYB/kldIVlLJ4zEP5k3VvmHybRN64I Fmo2iNzdaCzHthq20OnxChMBed7zJrMkRIOlXVTK4AfpLOVewS24SXUDPulKBqb7 da0opDFH5XN1DkgFUSOhYjWfVLBbJqk131MukPgffH8niyexdEY= =GLsO -----END PGP SIGNATURE-----